wok rev 13817

tazbug-website: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 17:58:35 2013 +0100 (2013-01-06)
parents 6299ef313f35
children 8198d0afa28b
files tazbug-website/receipt
line diff
     1.1 --- a/tazbug-website/receipt	Sun Jan 06 16:46:53 2013 +0000
     1.2 +++ b/tazbug-website/receipt	Sun Jan 06 17:58:35 2013 +0100
     1.3 @@ -19,15 +19,16 @@
     1.4  	#create path
     1.5  	mkdir -pm0755 $fs/var/www/bugs
     1.6  	mkdir -pm0755 $fs/var/lib/slitaz/auth/
     1.7 +	mkdir -pm0700 $fs/var/lib/slitaz/people/
     1.8 +
     1.9 +	#copy to package
    1.10 +	touch $fs/var/lib/slitaz/auth/people
    1.11 +	cp -a $src/web/* $fs/var/www/bugs/
    1.12 +	mv  $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
    1.13  
    1.14  	#set prem & owner
    1.15  	chown -R 80.80 $fs/var/www/bugs
    1.16  	chown -R 80.80 $fs/var/lib/slitaz/people/
    1.17  	chmod 0700 $fs/var/lib/slitaz/auth/people
    1.18  	chown -R 80.80 $fs/var/lib/slitaz/auth/people
    1.19 -
    1.20 -	#copy to package
    1.21 -	touch $fs/var/lib/slitaz/auth/people
    1.22 -	cp -a $src/web/* $fs/var/www/bugs/
    1.23 -	mv  $src/web/bugs.conf $fs/etc/slitaz/bugs.conf
    1.24  }