Do not use dpkg-maintscript-helper to remove /etc/init.d/nut

This commit is contained in:
Laurent Bigonville 2012-08-11 17:21:01 +02:00
parent 6c85678343
commit a7e6c2affc
4 changed files with 7 additions and 6 deletions

View file

@ -49,6 +49,11 @@ case "$1" in
&& udevadm trigger --subsystem-match=usb --action=change
# 557178 udevadm trigger --subsystem-match=usb
if dpkg --compare-versions "$2" le "2.6.4-2~" ; then
rm -f /etc/init.d/nut
update-rc.d nut remove >/dev/null
fi
;;
abort-upgrade)