summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-18 05:39:25 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-18 05:39:25 +0000
commitfe087ed9bb223366676eef790def68102497f77c (patch)
tree7da5b182e8c897fc8747922700ddaaec6f28eea1 /perl-install/install_steps_gtk.pm
parent7b6bbc8cea37946eea1aca650b7d47b2263bd362 (diff)
downloaddrakx-fe087ed9bb223366676eef790def68102497f77c.tar
drakx-fe087ed9bb223366676eef790def68102497f77c.tar.gz
drakx-fe087ed9bb223366676eef790def68102497f77c.tar.bz2
drakx-fe087ed9bb223366676eef790def68102497f77c.tar.xz
drakx-fe087ed9bb223366676eef790def68102497f77c.zip
add and use install_any::method_allows_medium_change
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 7ee2212c0..de0ae5b4e 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -591,7 +591,7 @@ sub installPackages {
my ($method, $medium) = @_;
#- if not using a cdrom medium or an iso image, always abort.
- return unless $method =~ /(^cdrom|-iso)$/ && !$::oem;
+ return unless method_allows_medium_change($method) && !$::oem;
my $name = pkgs::mediumDescr($o->{packages}, $medium);
local $| = 1; print "\a";