2010-02-24 21:58:53 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
if [ "$1" = upgrade ]; then
|
2012-06-06 19:06:03 +00:00
|
|
|
# remove the obsolete udev file(s)
|
|
|
|
[ -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
|
2010-02-24 21:58:53 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
#DEBHELPER#
|
2012-08-11 22:08:16 +00:00
|
|
|
|
|
|
|
exit 0
|