[Lunar-commits] r19694 - moonbase/trunk/web/lighttpd
Florin Braescu
florin at lunar-linux.org
Mon Apr 17 04:20:03 UTC 2006
Author: florin
Date: 2006-04-17 04:20:02 +0000 (Mon, 17 Apr 2006)
New Revision: 19694
Added:
moonbase/trunk/web/lighttpd/POST_INSTALL
Log:
preserve the config file in /etc/lighttpd.
Added: moonbase/trunk/web/lighttpd/POST_INSTALL
===================================================================
--- moonbase/trunk/web/lighttpd/POST_INSTALL (rev 0)
+++ moonbase/trunk/web/lighttpd/POST_INSTALL 2006-04-17 04:20:02 UTC (rev 19694)
@@ -0,0 +1,7 @@
+if [ ! -d /etc/lighttpd ]; then
+ mkdir /etc/lighttpd
+fi
+
+if [ ! -f /etc/lighttpd/lighttpd.conf ]; then
+ install -m 644 doc/lighttpd.conf /etc/lighttpd
+fi
More information about the Lunar-commits
mailing list