Bug#400215: solution....

2006-12-13 Thread Alex Owen

From memory of other udev rule installing pkgs the file is installed

into /etc/udev/nut-usbups.rules and the symlink is made in
/etc/udev/rules.d

Regards
Alex Owen


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



Bug#400215: solution....

2006-12-13 Thread Alex Owen

tags 400215 + patch
thanks

Attached is a patch that should fix this... [untested I'm afraid].




On 13/12/06, Alex Owen [EMAIL PROTECTED] wrote:

From memory of other udev rule installing pkgs the file is installed
into /etc/udev/nut-usbups.rules and the symlink is made in
/etc/udev/rules.d

Regards
Alex Owen

--- debian/rules.rao.orig	2006-12-13 09:16:11.0 +
+++ debian/rules	2006-12-13 09:19:10.0 +
@@ -91,7 +91,7 @@
 		DESTDIR=$(CURDIR)/debian/nut-usb RUNUID=65534 RUNGID=65534
 	mkdir -p $(CURDIR)/debian/nut-usb/etc/udev/rules.d
 	install -m 644 $(CURDIR)/scripts/hotplug-ng/nut-usbups.rules \
-		$(CURDIR)/debian/nut-usb/etc/udev/rules.d/025_nut-usbups.rules
+		$(CURDIR)/debian/nut-usb/etc/udev/nut-usbups.rules
 	$(MAKE) install-cgi \
 		DESTDIR=$(CURDIR)/debian/nut-cgi RUNUID=65534 RUNGID=65534
 	mv $(CURDIR)/debian/nut/lib/nut/upsdrvctl $(CURDIR)/debian/nut/sbin