From 2f3aaac785391d3574f54a2eb7ebe5befab2c2d1 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 18 Feb 2005 15:03:00 +0000 Subject: media_browser returns a filehandle when non save --- perl-install/install_steps_interactive.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install_steps_interactive.pm') 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 { -- cgit v1.2.1