Package: nut
Version: 2.4.1-3
Severity: Normal
Tags: patch

  udev files that are added on preinst are not removed on purge:

--- debian/nut.postrm   2009-08-15 03:11:28.000000000 +0100
+++ debian/nut.postrm.new       2009-08-15 03:14:22.000000000 +0100
@@ -12,6 +12,12 @@
     ;;

   purge)
+    [ -f /etc/udev/rules.d/025_nut-usbups.rules ]  &&   \
+                rm -f /etc/udev/rules.d/025_nut-usbups.rules
+    [ -f /etc/udev/rules.d/52_nut-usbups.rules ]   &&   \
+                rm -f /etc/udev/rules.d/52_nut-usbups.rules
+    [ -f /etc/udev/rules.d/52-nut-usbups.rules ]   &&   \
+                rm -f /etc/udev/rules.d/52-nut-usbups.rules
     # remove the nut user
     if getent passwd nut >/dev/null; then
                deluser --quiet nut

-- 
sobtw...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to