[Pkg-systemd-maintainers] [Piuparts-devel] /etc/systemd/system/

Michael Stapelberg stapelberg at debian.org
Mon Feb 17 19:37:07 GMT 2014


Hi Andreas,

Andreas Beckmann <anbe at debian.org> writes:
> This has solved the leftover directories, but introduced a little
> problem for e.g. rsyslog. There deb-systemd-helper manages to rmdir
> /etc/systemd, which of course causes a new error if init-system-helpers
> stays installed ... :-)
>
> I think this could be fixed like this (untested):
>
> -        rmdir_if_empty('/etc/systemd');
> +        rmdir_if_empty($_) for (grep { -d } </etc/systemd/system/*>);
>
> (and the comments need adjustment ...
> e.g. "hierarchy below /etc/systemd/system/")
I addressed this with:
http://anonscm.debian.org/gitweb/?p=collab-maint/init-system-helpers.git;a=commitdiff;h=84217bc0b8beb60e082d6f836c4f6dc2e8d1fa28

And uploaded 1.16. Hopefully this time everything works fine with
regards to piuparts… :-)

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list