[pkg-fetchmail-maint] Bug in postinst

Nico Golde nico at ngolde.de
Mon Nov 14 14:37:08 UTC 2005


Hello Héctor,

* Héctor García <hector at debian.org> [2005-11-14 14:33]:
> 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

Sure? I mean this means if /var/run/fetchmail does not 
exist.
Regards Nico
-- 
Nico Golde - JAB: nion at jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org
Forget about that mouse with 3/4/5 buttons -
gimme a keyboard with 103/104/105 keys!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-fetchmail-maint/attachments/20051114/0234a1d6/attachment.pgp


More information about the pkg-fetchmail-maint mailing list