[phpBB] svn: r371 - in trunk: phpbb2 phpbb3

kink at wolffelaar.nl kink at wolffelaar.nl
Sat Apr 21 15:52:33 CEST 2007


Author: kink
Date: 2007-04-21 15:52:32 +0200 (Sat, 21 Apr 2007)
New Revision: 371

Modified:
   trunk/phpbb2/phpbb2.postinst
   trunk/phpbb3/phpbb3.postinst
Log:
make relative links instead of absolute


Modified: trunk/phpbb2/phpbb2.postinst
===================================================================
--- trunk/phpbb2/phpbb2.postinst	2007-04-10 19:02:48 UTC (rev 370)
+++ trunk/phpbb2/phpbb2.postinst	2007-04-21 13:52:32 UTC (rev 371)
@@ -58,7 +58,7 @@
 	webserver=${webserver%,}
 	if [ -e /etc/$webserver/httpd.conf ] && [ ! -e /etc/$webserver/phpbb2.conf ]; then
 		mkdir -p /etc/$webserver/conf.d
-		ln -sf /etc/phpbb2/apache.conf /etc/$webserver/conf.d/phpbb2.conf
+		ln -sf ../../phpbb2/apache.conf /etc/$webserver/conf.d/phpbb2.conf
 		if [ -h /etc/$webserver/conf.d/phpbb2 ]; then
 			rm -f /etc/$webserver/conf.d/phpbb2
 		fi

Modified: trunk/phpbb3/phpbb3.postinst
===================================================================
--- trunk/phpbb3/phpbb3.postinst	2007-04-10 19:02:48 UTC (rev 370)
+++ trunk/phpbb3/phpbb3.postinst	2007-04-21 13:52:32 UTC (rev 371)
@@ -17,10 +17,7 @@
 	webserver=${webserver%,}
 	if [ -e /etc/$webserver/httpd.conf ] && [ ! -e /etc/$webserver/phpbb3.conf ]; then
 		mkdir -p /etc/$webserver/conf.d
-		ln -sf /etc/phpbb3/apache.conf /etc/$webserver/conf.d/phpbb3.conf
-		if [ -h /etc/$webserver/conf.d/phpbb3 ]; then
-			rm -f /etc/$webserver/conf.d/phpbb3
-		fi
+		ln -sf ../../phpbb3/apache.conf /etc/$webserver/conf.d/phpbb3.conf
 	fi
 done
 





More information about the phpBB-l mailing list