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

Michael Stapelberg stapelberg at debian.org
Mon Feb 17 19:37:07 UTC 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:

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

Best regards,

More information about the Piuparts-devel mailing list