summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
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));
}