wok diff c_icap/receipt @ rev 17947
cacerts: remove CNNIC Root Certificate (nothing else changed).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 16 02:08:38 2015 +0300 (2015-04-16) |
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 Thu Apr 16 02:08:38 2015 +0300 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 }