SOURCES: webapps.sh, webapps.README - use webapps.d

glen glen at pld-linux.org
Sun Nov 20 20:05:23 CET 2005


Author: glen                         Date: Sun Nov 20 19:05:21 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use webapps.d

---- Files affected:
SOURCES:
   webapps.sh (1.4 -> 1.5) , webapps.README (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/webapps.sh
diff -u SOURCES/webapps.sh:1.4 SOURCES/webapps.sh:1.5
--- SOURCES/webapps.sh:1.4	Sun Nov 20 19:03:30 2005
+++ SOURCES/webapps.sh	Sun Nov 20 20:05:16 2005
@@ -5,11 +5,11 @@
 app="$3"
 
 webapp_register() {
-	ln -sf $webapps/$app/$httpd.conf /etc/$httpd/webapps/$app.conf
+	ln -sf $webapps/$app/$httpd.conf /etc/$httpd/webapps.d/$app.conf
 }
 
 webapp_unregister() {
-	rm -f /etc/$httpd/webapps/$app.conf
+	rm -f /etc/$httpd/webapps.d/$app.conf
 }
 
 usage() {
@@ -34,8 +34,8 @@
 	if [ ! -d "$webapps/$app" ]; then
 		die "Missing directory: $webapps/$app"
 	fi
-	if [ ! -d "/etc/$httpd/webapps" ]; then
-		die "Missing directory: /etc/$httpd/webapps"
+	if [ ! -d "/etc/$httpd/webapps.d" ]; then
+		die "Missing directory: /etc/$httpd/webapps.d"
 	fi
 }
 

================================================================
Index: SOURCES/webapps.README
diff -u SOURCES/webapps.README:1.4 SOURCES/webapps.README:1.5
--- SOURCES/webapps.README:1.4	Sun Nov 20 18:57:05 2005
+++ SOURCES/webapps.README	Sun Nov 20 20:05:16 2005
@@ -23,6 +23,6 @@
 
 additionally the webserver configuration is linked to webserver config directory
 which is
-apache 1.x: /etc/apache/webapps
-apache 2.x: /etc/httpd/webapps
-lighttpd: /etc/lighttpd/webapps
+apache 1.x: /etc/apache/webapps.d
+apache 2.x: /etc/httpd/webapps.d
+lighttpd: /etc/lighttpd/webapps.d
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/webapps.sh?r1=1.4&r2=1.5&f=u
    http://cvs.pld-linux.org/SOURCES/webapps.README?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list