summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-04-05 10:09:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-04-05 10:09:51 +0000
commit39036c0d1bce933b76d8f4d61d2644225f239e64 (patch)
treedd7b484dad14577cef645101df07b369c5a3872d /perl-install
parent57f1fdd092116229816278e248f369f5623cfb26 (diff)
downloaddrakx-backup-do-not-use-39036c0d1bce933b76d8f4d61d2644225f239e64.tar
drakx-backup-do-not-use-39036c0d1bce933b76d8f4d61d2644225f239e64.tar.gz
drakx-backup-do-not-use-39036c0d1bce933b76d8f4d61d2644225f239e64.tar.bz2
drakx-backup-do-not-use-39036c0d1bce933b76d8f4d61d2644225f239e64.tar.xz
drakx-backup-do-not-use-39036c0d1bce933b76d8f4d61d2644225f239e64.zip
media_browser is returning a file, not a file handle, /me is bad :-/
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm6
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 {