r9: - avoid exit on error when chowning
authorDinko Korunic <Dinko.Korunic@CARNet.hr>
Sun, 23 Sep 2007 20:36:27 +0000 (20:36 +0000)
committerDinko Korunic <Dinko.Korunic@CARNet.hr>
Sun, 23 Sep 2007 20:36:27 +0000 (20:36 +0000)
debian/postinst

index 54c8a67..2beb6a1 100755 (executable)
@@ -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