[Pkg-systemd-maintainers] Bug#722524: Bug#722524: Bug#722524: bug script for systemd fails if it doesn't have root permissions

Michael Stapelberg stapelberg at debian.org
Sat Sep 14 02:25:18 BST 2013


Hi Michael,

Michael Biebl <biebl at debian.org> writes:
>> Should we also chmod 644 existing files in i-s-h's postinst?
>
> When upgrading i-s-h from older, "buggy" versions. Something along the
> lines like
>
> if dpkg --compare-versions "$2" lt "1.9"; then
>   # chmod stuff
> fi
Excellent point. This is done with
http://anonscm.debian.org/gitweb/?p=collab-maint/init-system-helpers.git;a=commitdiff;h=0cfba9414a0fbb374727d029632267fa7373dd20

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list