wok-next diff autoblog/receipt @ rev 18667
Change messaging in {pre|post}_{install|remove}(): wget and a* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 04 16:32:53 2015 +0200 (2015-12-04) |
parents | 372da2303ff1 |
children | 9e01bc6321ea |
line diff
1.1 --- a/autoblog/receipt Thu Apr 03 07:07:55 2014 +0000 1.2 +++ b/autoblog/receipt Fri Dec 04 16:32:53 2015 +0200 1.3 @@ -28,8 +28,8 @@ 1.4 mkdir -p $src 2> /dev/null 1.5 } 1.6 1.7 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.8 -genpkg_rules() 1.9 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.10 +genpkg_rules() 1.11 { 1.12 mkdir -p $fs/var/www/$PACKAGE 1.13 cp $SOURCES_REPOSITORY/$_TARBALL $fs/var/www/$PACKAGE/index.php 1.14 @@ -42,5 +42,5 @@ 1.15 mytz="$(cat $1/etc/TZ)" 1.16 [ -n "$mytz" ] && sed -i "s|Europe/Paris|$mytz|" $1/var/www/$PACKAGE/index.php 1.17 chown -R www $1/var/www/$PACKAGE 1.18 - echo "You should update /var/www/$PACKAGE/vvb.ini now ..." 1.19 + [ -z "$quiet" ] && echo "You should update /var/www/$PACKAGE/vvb.ini now..." 1.20 }