summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-13 10:50:07 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-01-13 10:50:07 +0000
commit08a247213e33fd3e41981bf58706f554586117e9 (patch)
tree7c468a6ae48cb54d1e8d5168ea9a727bfb496fe9 /urpm.pm
parent62bb5e1cad0c84197c982ced7948965a8fe47196 (diff)
downloadurpmi-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.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/urpm.pm b/urpm.pm
index 94512477..5a5ec4f5 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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));
}