From: Dinko Korunic Date: Sun, 23 Sep 2007 20:36:27 +0000 (+0000) Subject: r9: - avoid exit on error when chowning X-Git-Tag: v1.4.8~10 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=287632e70a394374c32cd5b5e587bcc98ef34cd0;p=iptables-cn.git r9: - avoid exit on error when chowning --- diff --git a/debian/postinst b/debian/postinst index 54c8a67..2beb6a1 100755 --- a/debian/postinst +++ b/debian/postinst @@ -30,7 +30,7 @@ esac # fix problem with permissions from the old package if dpkg --compare-versions "$2" lt "2:1.2.11-4"; then chown -f -Rh root:root /var/lib/iptables /etc/init.d/iptables \ - /etc/default/iptables >/dev/null 2>&1 + /etc/default/iptables >/dev/null 2>&1 || true fi # remove old iptables init script