diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-01-13 10:50:07 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-01-13 10:50:07 +0000 |
commit | 08a247213e33fd3e41981bf58706f554586117e9 (patch) | |
tree | 7c468a6ae48cb54d1e8d5168ea9a727bfb496fe9 /urpm.pm | |
parent | 62bb5e1cad0c84197c982ced7948965a8fe47196 (diff) | |
download | urpmi-08a247213e33fd3e41981bf58706f554586117e9.tar urpmi-08a247213e33fd3e41981bf58706f554586117e9.tar.gz urpmi-08a247213e33fd3e41981bf58706f554586117e9.tar.bz2 urpmi-08a247213e33fd3e41981bf58706f554586117e9.tar.xz urpmi-08a247213e33fd3e41981bf58706f554586117e9.zip |
Remove force_local download option (which was always on)
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -2781,12 +2781,7 @@ sub download_packages_of_distant_media { $error_sources->{$i} = $2; } } elsif ($url =~ m!^([^:]*):/(.*/([^/]*\.rpm))\Z!) { - if ($options{force_local}) { - #- will download now - $distant_sources{$i} = "$1:/$2"; - } else { - $sources->{$i} = "$1:/$2"; - } + $distant_sources{$i} = "$1:/$2"; #- will download now } else { $urpm->{error}(N("malformed URL: [%s]", $url)); } |