summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-31 14:17:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-31 14:17:39 +0000
commitbe5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d (patch)
tree66f8e49d502627b3c3a73746a5628d787349f82d
parenta8b0d1ec11c911e4acf8b46a5913d3527db2f73d (diff)
downloaddrakx-backup-do-not-use-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar
drakx-backup-do-not-use-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar.gz
drakx-backup-do-not-use-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar.bz2
drakx-backup-do-not-use-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.tar.xz
drakx-backup-do-not-use-be5f4d30fb9e9e68e1dacbedef5a0c72ea6c663d.zip
do not try to install packages that are not availlable (#15106)
-rwxr-xr-xperl-install/standalone/harddrake22
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();