Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] PERFORCE change 79529 by David Kowis for review

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Perforce Review Daemon <p4review AT smee.org>
  • To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
  • Subject: [SM-Commit] PERFORCE change 79529 by David Kowis for review
  • Date: Fri, 19 May 2006 18:25:02 +0100 (BST)

Change 79529 by david_kowis@dkowis-kain on 2006/05/19 18:23:41

Added a function to get at the install_www_files location

Affected files ...

... //sgl/grimoires/devel/ChangeLog#330 edit
... //sgl/grimoires/devel/FUNCTIONS#34 edit

Differences ...

==== //sgl/grimoires/devel/ChangeLog#330 (text) ====

@@ -1,6 +1,9 @@
2006-05-19 Arjan Bouter <abouter AT sourcemage.org>
* crypto/aircrack-ng: new spell

+2006-05-19 David Kowis <dkowis AT shlrm.org>
+ * FUNCTIONS: Added a function to get at the install_www_files location
+
2006-05-17 Flavien Bridault <vlaaad AT sourcemage.org>
* disk/bonfire: Added, yet another gnome burning application


==== //sgl/grimoires/devel/FUNCTIONS#34 (xtext) ====

@@ -185,6 +185,18 @@
return 0
}

+
+#---------------------------------------------------------------------
+#
+## Returns the location that the www files are installed to
+## An attempt to get install_www_files configurable
+#---------------------------------------------------------------------
+function get_install_www_files_dir ()
+{
+ return "/usr/share/www"
+}
+
+
#---------------------------------------------------------------------
## @param Directory with files we might want to install
## @param Destination directory (optional)
@@ -202,7 +214,7 @@
#
local WWW_DEST="$INSTALL_ROOT/${2/\$INSTALL_ROOT/}"
else
- local WWW_DEST="$INSTALL_ROOT/usr/share/www/$SPELL"
+ local WWW_DEST="$INSTALL_ROOT$(get_install_www_files_dir)$SPELL"
fi &&

#
@@ -239,7 +251,7 @@
#
message "${MESSAGE_COLOR}Your web files have been moved out of the"
\
"APACHE specific locations (apache2/htdocs, httpd/htdocs, etc.)"
\
- "and into a shared, non-DocumentRoot $INSTALL_ROOT/usr/share/www"
\
+ "and into a shared, non-DocumentRoot
$INSTALL_ROOT$(get_install_www_files_dir)" \
"directory. You can modify your web server to point there for"
\
"these files now.${DEFAULT_COLOR}"
}



  • [SM-Commit] PERFORCE change 79529 by David Kowis for review, Perforce Review Daemon, 05/19/2006

Archive powered by MHonArc 2.6.24.

Top of Page