summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rwxr-xr-xperl-install/standalone/drakups2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 153fb1545..5561bc0ac 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- drakups: adapt to new nut doc path (blino)
+
Version 10.4.145 - 9 July 2007, by Pascal "Pixel" Rigaux
- modify usbWacom() for mousedrake
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups
index 2bad4e5b8..1279e5797 100755
--- a/perl-install/standalone/drakups
+++ b/perl-install/standalone/drakups
@@ -44,7 +44,7 @@ sub read_nut_config() {
sub readDriversList() {
my (%ups, @ups);
local $_;
- foreach (cat_(first(glob("/usr/share/doc/nut-*/docs/driver.list")))) {
+ foreach (cat_(first(glob("/usr/share/doc/nut/docs/driver.list")))) {
/^#/ and next;
if (my ($vendor, $model, $extra, $driver) = /^"(.*)"\s+"(.*)"\s+"(.*)"\s+"(.*)"/) {
$ups{$vendor}{$model . $extra} = {