<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 17, 2018 at 10:33 AM Michael Biebl <<a href="mailto:biebl@debian.org">biebl@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 17.08.2018 um 15:27 schrieb Felipe Sateler:<br>
> I'll revert the change to unbreak things soon. For the longer term,<br>
> maybe we can switch the check to <br>
> <br>
> /lib/systemd/systemd-sysv-install is-enabled $service<br>
<br>
I wouldn't bother introducing new code here and simply revert the change<br>
to get the old code back, which we know works under the current<br>
circumstances.<br>
<br>
Long term, i.e. after we have the dh_installsystemd fixes, we should be<br>
able to simply use "systemctl is-enabled " again and drop the fallback<br>
altogether. The fallback should not be needed then.<br></blockquote><div><br></div><div>Well, as long as we support the --skip-systemd-native, we can't drop the check :/ <br></div></div><div><br></div>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.<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br>Saludos,<br>Felipe Sateler</div></div>