diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-31 14:17:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-31 14:17:39 +0000 |
commit | be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d (patch) | |
tree | 66f8e49d502627b3c3a73746a5628d787349f82d /perl-install/standalone/harddrake2 | |
parent | a8b0d1ec11c911e4acf8b46a5913d3527db2f73d (diff) | |
download | drakx-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar drakx-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar.gz drakx-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar.bz2 drakx-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar.xz drakx-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.zip |
do not try to install packages that are not availlable (#15106)
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index b1cf90162..1a39ea662 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -474,7 +474,7 @@ $_->hide foreach $module_cfg_button, $config_button; # hide buttons while no dev #local $SIG{CHLD} = sub {}; if (my @packages = grep { !member($_, qw(ati.2 dmraid gnome-alsamixer mdadm xmms-alsa)) } simple_read_rpmsrate()) { my $do_pkgs = do_pkgs_standalone->new; - my @packages2install = grep { !$do_pkgs->is_installed($_) } @packages; + my @packages2install = grep { $do_pkgs->is_available($_) && !$do_pkgs->is_installed($_) } @packages; undef $wait; gtkset_mousecursor_normal(); |