diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-16 06:33:04 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-16 06:33:04 +0000 |
commit | 89df88db01f24d8a31c487e6feb723bd2f58e4a8 (patch) | |
tree | f17e596198988532444a827dc4a0c191fa299100 /perl-install/wizards.pm | |
parent | e3e736512894424f2e9b27296d47c8d7ba2ea2ad (diff) | |
download | drakx-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/wizards.pm')
-rw-r--r-- | perl-install/wizards.pm | 2 |
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)) { |