summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-11 10:12:33 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-11 10:12:33 +0000
commit89f397296a67aa12f3943bacde1368e76c59c3a8 (patch)
tree334f8db3591142f0cab37d821aa09bfcfc9b1cf8 /perl-install/network
parentd80af1f04c4a99849d8bcc61a337ea0a9dbe5683 (diff)
downloaddrakx-89f397296a67aa12f3943bacde1368e76c59c3a8.tar
drakx-89f397296a67aa12f3943bacde1368e76c59c3a8.tar.gz
drakx-89f397296a67aa12f3943bacde1368e76c59c3a8.tar.bz2
drakx-89f397296a67aa12f3943bacde1368e76c59c3a8.tar.xz
drakx-89f397296a67aa12f3943bacde1368e76c59c3a8.zip
fix error reporting for ndiswrapper package installation (#15373)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 7cb53c976..24c848ba1 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1121,7 +1121,7 @@ notation (for example, 1.2.3.4).")),
list => [ N("Install a new driver"), N("Use already installed driver (%s)", join(", ", network::tools::ndiswrapper_installed_drivers())) ] } ];
},
complete => sub {
- if ($in->do_pkgs->ensure_is_installed_if_available('ndiswrapper', '/usr/sbin/ndiswrapper')) {
+ unless ($in->do_pkgs->ensure_is_installed('ndiswrapper', '/usr/sbin/ndiswrapper')) {
$in->ask_warn(N("Error"), N("Could not install the %s package!", 'ndiswrapper'));
return 1;
}