summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-07-27 11:47:17 +0000
committerOlivier Blin <oblin@mandriva.com>2007-07-27 11:47:17 +0000
commitffe3df85b074e967c8c094986ddb9f83d167c8db (patch)
tree70ecb938d58c9eeabc27c10381fdd4b679d8eb12
parent338f0ed09fe88d798a7d49aa605b708d05fadc2b (diff)
downloaddrakx-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar
drakx-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar.gz
drakx-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar.bz2
drakx-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar.xz
drakx-ffe3df85b074e967c8c094986ddb9f83d167c8db.zip
adapt to new nut doc path
-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} = {