wok rev 13808
Up 1.1 & Clean code
author | border |
---|---|
date | Sat Jan 05 17:59:28 2013 -0500 (2013-01-05) |
parents | 0747d5d72804 |
children | d2414b55d081 |
files | tazbug-website/receipt |
line diff
1.1 --- a/tazbug-website/receipt Sun Jan 06 05:45:32 2013 +0300 1.2 +++ b/tazbug-website/receipt Sat Jan 05 17:59:28 2013 -0500 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="tazbug-website" 1.7 -VERSION="1.0" 1.8 +VERSION="1.1" 1.9 CATEGORY="misc" 1.10 SHORT_DESC="SliTaz Bug Tracker website" 1.11 MAINTAINER="fredericguilbault@live.ca" 1.12 @@ -16,20 +16,18 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mv $src/web/bugs.conf /etc/slitaz/bugs.conf 1.17 + #create path 1.18 + mkdir -pm0755 $fs/var/www/bugs 1.19 + mkdir -pm0755 $fs/var/lib/slitaz/auth/ 1.20 1.21 - mkdir -pm0755 $fs/var/www/bugs 1.22 - cp -a $src/web/* $fs/var/www/bugs/ 1.23 - cp $stuff/index.html $fs/var/www/bugs/ 1.24 + #set prem & owner 1.25 chown -R 80.80 $fs/var/www/bugs 1.26 - 1.27 - mkdir -pm0755 $fs/var/lib/slitaz/auth/ 1.28 - touch $fs/var/lib/slitaz/auth/people 1.29 - chmod 0600 $fs/var/lib/slitaz/auth/people 1.30 + chown -R 80.80 $fs/var/lib/slitaz/people/ 1.31 + chmod 0700 $fs/var/lib/slitaz/auth/people 1.32 chown -R 80.80 $fs/var/lib/slitaz/auth/people 1.33 1.34 - mkdir -pm0700 $fs/var/lib/slitaz/people/ 1.35 - chown -R 80.80 $fs/var/lib/slitaz/people/ 1.36 + #copy to package 1.37 + touch $fs/var/lib/slitaz/auth/people 1.38 + cp -a $src/web/* $fs/var/www/bugs/ 1.39 + mv $src/web/bugs.conf $fs/etc/slitaz/bugs.conf 1.40 } 1.41 - 1.42 -