diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-23 01:33:20 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-23 01:33:20 +0000 |
commit | 22ff7d6aefd8ad6cd9d72c825030189187a9d4cc (patch) | |
tree | fd76228d154b0886fa988f7e476e1470474c7d5d | |
parent | 5a7853797a154a77ae8013ad676cbdf61c58e70f (diff) | |
download | urpmi-22ff7d6aefd8ad6cd9d72c825030189187a9d4cc.tar urpmi-22ff7d6aefd8ad6cd9d72c825030189187a9d4cc.tar.gz urpmi-22ff7d6aefd8ad6cd9d72c825030189187a9d4cc.tar.bz2 urpmi-22ff7d6aefd8ad6cd9d72c825030189187a9d4cc.tar.xz urpmi-22ff7d6aefd8ad6cd9d72c825030189187a9d4cc.zip |
Hmm, syntax error
-rw-r--r-- | urpm.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -654,11 +654,11 @@ sub add_distrib_media { # (Olivier Thauvin): Is this a workaround ? $urpm->{media} or $urpm->read_config; - #- be compatible with pre-10.1 layout - -d "$dir/$distrib_root" or $distrib_root = "Mandrake/base"; - #- try to copy/retrieve the hdlists file. if (my ($dir) = $url =~ m!^(?:removable[^:]*|file):/(.*)!) { + #- be compatible with pre-10.1 layout + -d "$dir/$distrib_root" or $distrib_root = "Mandrake/base"; + $hdlists_file = reduce_pathname("$dir/$distrib_root/hdlists"); $urpm->try_mounting($hdlists_file) or $urpm->{error}(N("unable to access first installation medium")), return; |