[pkg-fetchmail-maint] Bug in postinst
Héctor García
hector at debian.org
Mon Nov 14 09:53:26 UTC 2005
While building next release and testing it I found a bug on
fetchmail.postinst
Since I cannot do a commit here is the diff
Index: debian/fetchmail.postinst
===================================================================
--- debian/fetchmail.postinst (revision 240)
+++ debian/fetchmail.postinst (working copy)
@@ -13,7 +13,7 @@
fi
# work around possible adduser bug, see #119366
[ -d /var/run/fetchmail ] || mkdir -p /var/run/fetchmail
-if ! [ -d /var/run/fetchmail ]; then
+if [ -d /var/run/fetchmail ]; then
chmod 700 /var/run/fetchmail
chown -h -R fetchmail:nogroup /var/run/fetchmail
fi
Here is my comment:
fixing a bug in fetchmail.postinst, there was an extra ! which made the
check wrong and impossible
More information about the pkg-fetchmail-maint
mailing list