summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-16 06:33:04 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-16 06:33:04 +0000
commit89df88db01f24d8a31c487e6feb723bd2f58e4a8 (patch)
treef17e596198988532444a827dc4a0c191fa299100 /perl-install
parente3e736512894424f2e9b27296d47c8d7ba2ea2ad (diff)
downloaddrakx-89df88db01f24d8a31c487e6feb723bd2f58e4a8.tar
drakx-89df88db01f24d8a31c487e6feb723bd2f58e4a8.tar.gz
drakx-89df88db01f24d8a31c487e6feb723bd2f58e4a8.tar.bz2
drakx-89df88db01f24d8a31c487e6feb723bd2f58e4a8.tar.xz
drakx-89df88db01f24d8a31c487e6feb723bd2f58e4a8.zip
do not ask to install already installed packages, prefer to install
uninstalled packages (misc)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/wizards.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/wizards.pm b/perl-install/wizards.pm
index c5a39c4da..2ae0af4ca 100644
--- a/perl-install/wizards.pm
+++ b/perl-install/wizards.pm
@@ -91,7 +91,7 @@ sub new { bless {}, $_[0] }
sub check_rpm {
my ($in, $rpms) = @_;
foreach my $rpm (@$rpms) {
- next if !$in->do_pkgs->is_installed($rpm);
+ next if $in->do_pkgs->is_installed($rpm);
if ($in->ask_okcancel(N("Error"), N("%s is not installed\nClick \"Next\" to install or \"Cancel\" to quit", c::from_utf8($rpm)))) {
$::testing and next;
if (!$in->do_pkgs->install($rpm)) {