wok-current diff iptraf/receipt @ rev 19054

Up transmission (2.92)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Apr 19 03:16:52 2016 +0300 (2016-04-19)
parents 5f489761d0c4
children 3705d68ed8f3
line diff
     1.1 --- a/iptraf/receipt	Tue Mar 01 13:06:45 2016 +0200
     1.2 +++ b/iptraf/receipt	Tue Apr 19 03:16:52 2016 +0300
     1.3 @@ -30,6 +30,16 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/var/iptraf $fs/var/log/iptraf $fs/var/run/iptraf
     1.8 +	mkdir -p $fs/var/iptraf $fs/var/log/iptraf
     1.9  	cp -a $install/* $fs
    1.10  }
    1.11 +
    1.12 +post_install()
    1.13 +{
    1.14 +	mkdir -p "$1/var/run/iptraf"
    1.15 +}
    1.16 +
    1.17 +post_remove()
    1.18 +{
    1.19 +	rm -r "$1/var/run/iptraf"
    1.20 +}