[SM-Grimoire-Bugs] [Bug 8671] Master Bug: Spells should not install to /usr/share/httpd/htdocs (e.g. DocumentRoot)

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Apr 24 22:25:05 EDT 2005


http://bugs.sourcemage.org/show_bug.cgi?id=8671





------- Additional Comments From eric at sandall.us  2005-04-24 19:25 -------
Perhaps "websites" or "www".

Should we setup a grimoire FUNCTIONS for this so that if we want to change it in
the future we just change it in one place?

e.g.

function  install_http_files  ()
{
  install  -m 644  -o www-data  -g www-data  -d     \
           $INSTALL_ROOT/usr/share/websites         &&
  install  -m 644  -o www-data  -g www-data  -d     \
           $INSTALL_ROOT/usr/share/websites/$SPELL  &&
  install  -m 644  -o www-data  -g www-data  $@     \
           $INSTALL_ROOT/usr/share/websites/$SPELL
}

And then call install_http_files in the INSTALL for these spells.

e.g.

install_http_files  *.php  *.html

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the SM-Grimoire-Bugs mailing list