[phpBB] svn: r62 - trunk/phpbb2

jeroen at wolffelaar.nl jeroen at wolffelaar.nl
Tue Feb 10 11:17:01 CET 2004


Author: jeroen
Date: 2004-02-10 11:16:33 +0100 (Tue, 10 Feb 2004)
New Revision: 62

Modified:
   trunk/phpbb2/rules
Log:
Fix permissions of avatars dir

Modified: trunk/phpbb2/rules
===================================================================
--- trunk/phpbb2/rules	2004-02-10 09:43:25 UTC (rev 61)
+++ trunk/phpbb2/rules	2004-02-10 10:16:33 UTC (rev 62)
@@ -72,9 +72,12 @@
 	dh_installexamples
 	dh_install
 	mkdir -p debian/phpbb2/var/lib/phpbb2
-	mv debian/phpbb2/usr/share/phpbb2/images/avatars debian/phpbb2/var/lib/phpbb2
-	chgrp www-data debian/phpbb2/var/lib/phpbb2
-	chmod g=wx,o= debian/phpbb2/var/lib/phpbb2
+	mv debian/phpbb2/usr/share/phpbb2/images/avatars debian/phpbb2/var/lib/phpbb2/avatars
+	ln -s /var/lib/phpbb2/avatars debian/phpbb2/usr/share/phpbb2/images/avatars
+	chgrp www-data debian/phpbb2/var/lib/phpbb2/avatars
+	chmod g=wx,o=  debian/phpbb2/var/lib/phpbb2/avatars
+	chgrp www-data debian/phpbb2/var/lib/phpbb2/avatars/gallery
+	chmod g=wx,o=  debian/phpbb2/var/lib/phpbb2/avatars/gallery
 #	dh_installmenu
 	dh_installdebconf	
 #	dh_installlogrotate
@@ -88,7 +91,7 @@
 	dh_link
 	dh_strip
 	dh_compress
-	dh_fixperms
+	dh_fixperms -Xvar/lib/phpbb2/avatars
 #	dh_perl
 #	dh_python
 #	dh_makeshlibs





More information about the phpBB-l mailing list