[Nut-upsdev] [nut-commits] svn commit r918 - in trunk: . packaging/debian

Charles Lepple clepple at gmail.com
Fri May 25 02:10:58 UTC 2007


Arnaud,

I am pretty sure that upgrading normally from nut-usb 2.0.5 will leave
a 025_nut... file in /etc/udev/rules.d, unless the user purges nut-usb
(The new file is 052_nut...). Should the old rules file be removed in
the postinst, or the config script (guarded with a "if previous
version <= 2.0.5" sort of test)?

> -       mkdir -p $(CURDIR)/debian/nut-usb/etc/udev/rules.d
> -       install -m 644 $(CURDIR)/scripts/udev/nut-usbups.rules \
> -               $(CURDIR)/debian/nut-usb/etc/udev/rules.d/025_nut-usbups.rules
> +       mkdir -p $(CURDIR)/debian/nut-usb/etc
> +       mv $(CURDIR)/debian/nut/etc/udev $(CURDIR)/debian/nut-usb/etc/

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list