On Fri, Aug 17, 2018 at 10:33 AM Michael Biebl <bi...@debian.org> wrote:
> Am 17.08.2018 um 15:27 schrieb Felipe Sateler: > > I'll revert the change to unbreak things soon. For the longer term, > > maybe we can switch the check to > > > > /lib/systemd/systemd-sysv-install is-enabled $service > > I wouldn't bother introducing new code here and simply revert the change > to get the old code back, which we know works under the current > circumstances. > > Long term, i.e. after we have the dh_installsystemd fixes, we should be > able to simply use "systemctl is-enabled " again and drop the fallback > altogether. The fallback should not be needed then. > Well, as long as we support the --skip-systemd-native, we can't drop the check :/ Alternatively, debhelper could move dh_installsystemd before dh_installinit. Then the first would be a nop under sysvinit systems, and the second would be a nop in systemd systems. -- Saludos, Felipe Sateler