diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-14 16:42:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-14 16:42:45 +0000 |
commit | ea1c93402dfa2aba19ab3dbc3551cd21572affb9 (patch) | |
tree | ec45ca3dd1f9c2899748fabe19ef9f4a2d1ba13d /perl-install/install_any.pm | |
parent | 0f4c7b1bab30307ecee99c03506b0bb632e5c51f (diff) | |
download | drakx-ea1c93402dfa2aba19ab3dbc3551cd21572affb9.tar drakx-ea1c93402dfa2aba19ab3dbc3551cd21572affb9.tar.gz drakx-ea1c93402dfa2aba19ab3dbc3551cd21572affb9.tar.bz2 drakx-ea1c93402dfa2aba19ab3dbc3551cd21572affb9.tar.xz drakx-ea1c93402dfa2aba19ab3dbc3551cd21572affb9.zip |
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-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 a2f139522..7b5a38863 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -495,12 +495,12 @@ sub install_urpmi { my $dir = ${{ nfs => "file://mnt/nfs", hd => "file:/" . hdInstallPath, - ftp => $ENV{URLPREFIX}, - http => $ENV{URLPREFIX}, + ftp => $ENV{URLPREFIX}, + http => $ENV{URLPREFIX}, cdrom => "removable_cdrom_1://mnt/cdrom" }}{$method}; local *FILES; open FILES, "hdlist2files $f|"; chop, print LIST "$dir/Mandrake/RPMS/$_\n" foreach <FILES>; - close FILES or die "hdlist2files failed"; + close FILES or log::l("hdlist2files failed"), return; $dir .= "/Mandrake/RPMS with ../base/hdlist" if $method =~ /ftp|http/; eval { output "$prefix/etc/urpmi/urpmi.cfg", "$name $dir\n" }; |