[Lunar-commits] r19818 - moonbase/trunk/web/lighttpd

Auke Kok sofar at lunar-linux.org
Sun Apr 23 15:09:36 UTC 2006


Author: sofar
Date: 2006-04-23 15:09:36 +0000 (Sun, 23 Apr 2006)
New Revision: 19818

Removed:
   moonbase/trunk/web/lighttpd/POST_INSTALL
Modified:
   moonbase/trunk/web/lighttpd/BUILD
Log:
Making file layout the same as apache (/var/www and /var/log/httpd)


Modified: moonbase/trunk/web/lighttpd/BUILD
===================================================================
--- moonbase/trunk/web/lighttpd/BUILD	2006-04-23 15:07:54 UTC (rev 19817)
+++ moonbase/trunk/web/lighttpd/BUILD	2006-04-23 15:09:36 UTC (rev 19818)
@@ -5,6 +5,13 @@
   ./configure  --prefix=/usr               \
    	       --libdir=/usr/lib/lighttpd  \
                $OPTS                      &&
-  default_make
+  default_make                            &&
 
+  if [ ! -f /etc/lighttpd/lighttpd.conf ];  then
+    sedit 's:/www/pages/:/var/www/:g' doc/lighttpd.conf &&
+    sedit 's:/www/logs/:/var/log/httpd/:g' doc/lighttpd.conf &&
+    mkdir -p /etc/lighttpd &&
+    install -m 644 doc/lighttpd.conf /etc/lighttpd
+  fi
+
 ) > $C_FIFO 2>&1

Deleted: moonbase/trunk/web/lighttpd/POST_INSTALL



More information about the Lunar-commits mailing list