summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-03 03:19:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-03 03:19:35 +0000
commit10a6bd261731ee1563b0debbb37866bcc56817ca (patch)
tree6af82926c7ee45ec50e9673d234c6296f7e7df94 /perl-install/install_any.pm
parent7af39313e649685eca95a96e8e123db48ea1c9bd (diff)
downloaddrakx-10a6bd261731ee1563b0debbb37866bcc56817ca.tar
drakx-10a6bd261731ee1563b0debbb37866bcc56817ca.tar.gz
drakx-10a6bd261731ee1563b0debbb37866bcc56817ca.tar.bz2
drakx-10a6bd261731ee1563b0debbb37866bcc56817ca.tar.xz
drakx-10a6bd261731ee1563b0debbb37866bcc56817ca.zip
Don't bypass errorOpeningFile, because it won't ask for further CDs
anymore... (/me sux)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index b2654aeae..112480514 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -210,7 +210,7 @@ sub getFile {
$o_altroot ||= '/tmp/image';
$f2 = "$o_altroot/$rel" if $rel !~ m,^/, && (!$postinstall_rpms || !-e $f2);
#- $f2 = "/$rel" if !$::o->{packages}{mediums}{$asked_medium}{rpmsdir} && !-e $f2; #- not a relative path, should not be necessary with new media layout
- my $F; open($F, $f2) && $F or do { $f2 !~ /XXX/ and log::l("Can't open $f2: $!"); return undef }
+ my $F; open($F, $f2) && $F or do { $f2 !~ /XXX/ and log::l("Can't open $f2: $!"); undef }
}
} || errorOpeningFile($f);
}