summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-18 15:03:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-18 15:03:00 +0000
commit2f3aaac785391d3574f54a2eb7ebe5befab2c2d1 (patch)
treeaa3f657dba5a101375f7c8fd2f46ff2c01c9ec85 /perl-install/install_steps_interactive.pm
parent5a222ad82ffcf5548f86c5efab8ffb90a8b7efb3 (diff)
downloaddrakx-backup-do-not-use-2f3aaac785391d3574f54a2eb7ebe5befab2c2d1.tar
drakx-backup-do-not-use-2f3aaac785391d3574f54a2eb7ebe5befab2c2d1.tar.gz
drakx-backup-do-not-use-2f3aaac785391d3574f54a2eb7ebe5befab2c2d1.tar.bz2
drakx-backup-do-not-use-2f3aaac785391d3574f54a2eb7ebe5befab2c2d1.tar.xz
drakx-backup-do-not-use-2f3aaac785391d3574f54a2eb7ebe5befab2c2d1.zip
media_browser returns a filehandle when non save
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 92b7fd7e5..13cc0a5f2 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -499,8 +499,8 @@ The format is the same as auto_install generated files."),
if ($choice eq 'Load') {
while (1) {
log::l("load package selection");
- my ($_h, $file) = install_any::media_browser($o, '', 'package_list.pl') or return;
- my $O = eval { install_any::loadO(undef, $file) };
+ my ($_h, $fh) = install_any::media_browser($o, '', 'package_list.pl') or return;
+ my $O = eval { install_any::loadO(undef, $fh) };
if ($@) {
$o->ask_okcancel('', N("Bad file")) or return;
} else {