summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakups
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 /perl-install/standalone/drakups
parent338f0ed09fe88d798a7d49aa605b708d05fadc2b (diff)
downloaddrakx-backup-do-not-use-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar
drakx-backup-do-not-use-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar.gz
drakx-backup-do-not-use-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar.bz2
drakx-backup-do-not-use-ffe3df85b074e967c8c094986ddb9f83d167c8db.tar.xz
drakx-backup-do-not-use-ffe3df85b074e967c8c094986ddb9f83d167c8db.zip
adapt to new nut doc path
Diffstat (limited to 'perl-install/standalone/drakups')
-rwxr-xr-xperl-install/standalone/drakups2
1 files changed, 1 insertions, 1 deletions
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} = {