diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-04-05 10:09:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-04-05 10:09:51 +0000 |
commit | 39036c0d1bce933b76d8f4d61d2644225f239e64 (patch) | |
tree | dd7b484dad14577cef645101df07b369c5a3872d | |
parent | 57f1fdd092116229816278e248f369f5623cfb26 (diff) | |
download | drakx-39036c0d1bce933b76d8f4d61d2644225f239e64.tar drakx-39036c0d1bce933b76d8f4d61d2644225f239e64.tar.gz drakx-39036c0d1bce933b76d8f4d61d2644225f239e64.tar.bz2 drakx-39036c0d1bce933b76d8f4d61d2644225f239e64.tar.xz drakx-39036c0d1bce933b76d8f4d61d2644225f239e64.zip |
media_browser is returning a file, not a file handle, /me is bad :-/
-rw-r--r-- | perl-install/install_any.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 5bf917ded..1808c89a1 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -1268,15 +1268,15 @@ sub getAndSaveAutoInstallFloppies { sub g_default_packages { my ($o) = @_; - my ($_h, $fh) = media_browser($o, 'save', 'package_list.pl') or return; + my ($_h, $file) = media_browser($o, 'save', 'package_list.pl') or return; require Data::Dumper; my $str = Data::Dumper->Dump([ { default_packages => pkgs::selected_leaves($o->{packages}) } ], ['$o']); $str =~ s/ {8}/\t/g; - print $fh + output($file, "# You should always check the syntax with 'perl -cw auto_inst.cfg.pl'\n" . "# before testing. To use it, boot with ``linux defcfg=floppy''\n" . - $str . "\0"; + $str . "\0"); } sub loadO { |