From 22ff7d6aefd8ad6cd9d72c825030189187a9d4cc Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 23 Jul 2004 01:33:20 +0000 Subject: Hmm, syntax error --- urpm.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/urpm.pm b/urpm.pm index 7282c685..6edac54e 100644 --- a/urpm.pm +++ b/urpm.pm @@ -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; -- cgit v1.2.1