projects
/
iptables-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75e8799
)
r9: - avoid exit on error when chowning
author
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Sun, 23 Sep 2007 20:36:27 +0000
(20:36 +0000)
committer
Dinko Korunic
<Dinko.Korunic@CARNet.hr>
Sun, 23 Sep 2007 20:36:27 +0000
(20:36 +0000)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
54c8a67
..
2beb6a1
100755
(executable)
--- 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