I decided to further investigate this matter, as the nut-usb package
seems to be effectively broken while this remains unfixed.

From looking into the package's diff file
(http://ftp.debian.org/debian/pool/main/n/nut/nut_2.0.4-2.3.diff.gz),
I noticed this two changes:

In "nut-2.0.4/debian/rules":

+       install -m 644 $(CURDIR)/scripts/hotplug-ng/nut-usbups.rules \
+               $(CURDIR)/debian/nut-usb/etc/udev/rules.d/025_nut-usbups.rules

And, in "nut-2.0.4/debian/nut-usb.postinst":

+  configure)
+    if [ -d /etc/udev/rules.d/ ] ; then
+        cd /etc/udev/rules.d/
+        ln -sf ../nut-usbups.rules 025_nut-usbups.rules
+    fi

So, it looks to me like the file "025_nut-usbups.rules" is being
installed correctly, but then (in the postinst stage) it is overriden
by a symlink pointing to a nonexistent file.

So, either the file is installed into "/etc/udev/nut-usbups.rules" to
fix the symlink, or the symlink isn't created at all.

Am I correct?

--
Carlos Rodrigues


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to