wok diff c_icap/receipt @ rev 18357

Add harfbuzz-icu (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 14 22:05:16 2015 +0200 (2015-09-14)
parents 0d8a1a3edc72
children 9e01bc6321ea
line diff
     1.1 --- a/c_icap/receipt	Sun May 18 20:24:07 2014 +0000
     1.2 +++ b/c_icap/receipt	Mon Sep 14 22:05:16 2015 +0200
     1.3 @@ -67,12 +67,12 @@
     1.4  		
     1.5  		echo "Stopping daemon..."
     1.6  		if (ps | grep -q c-icap); then
     1.7 -			/etc/init.d/c-icapd stop
     1.8 +			chroot "$1/" /etc/init.d/c-icapd stop
     1.9  		fi
    1.10  }
    1.11  post_remove()
    1.12  {
    1.13  	echo "Removing stalled files..."
    1.14 -	test -d /var/log/c-icap && rm -rf /var/log/c-icap
    1.15 -	test -d /usr/run/c-icap && rm -rf /usr/run/c-icap
    1.16 +	test -d $1/var/log/c-icap && rm -rf $1/var/log/c-icap
    1.17 +	test -d $1/usr/run/c-icap && rm -rf $1/usr/run/c-icap
    1.18  }