wok-next diff awstats-hotspot/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a6f7b6b890c2 |
children | 0cbe4b1f2230 |
line diff
1.1 --- a/awstats-hotspot/receipt Wed Jun 01 02:52:45 2016 +0300 1.2 +++ b/awstats-hotspot/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -6,24 +6,20 @@ 1.4 SHORT_DESC="Squid Log file analyzer configuration" 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL2" 1.7 -DEPENDS="squid awstats" 1.8 WEB_SITE="http://www.slitaz.org/" 1.9 -TAGS="log analysis" 1.10 1.11 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.12 -genpkg_rules() 1.13 -{ 1.14 +genpkg_rules() { 1.15 mkdir -p $fs/usr/bin 1.16 cp $stuff/* $fs/usr/bin 1.17 + DEPENDS="squid awstats" 1.18 + TAGS="log analysis" 1.19 } 1.20 1.21 -post_install() 1.22 -{ 1.23 +post_install() { 1.24 chroot "$1/" /usr/bin/loghotspot.sh --install 1.25 } 1.26 1.27 -post_remove() 1.28 -{ 1.29 +post_remove() { 1.30 cd "$1/" 1.31 grep -l loghotspot.sh etc/awstats/*.conf | xargs rm -f 1.32 cd - > /dev/null