summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index dd6958f9..f28afe46 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -292,7 +292,7 @@ sub sync_rsync {
foreach (@_) {
my $count = 10; #- retry count on error (if file exists).
my $basename = basename($_);
- my ($file) = m/::/ ? (m|^rsync://(.*)|) : ($_);
+ my ($file) = m!^rsync://[^\/]*::! ? (m|^rsync://(.*)|) : ($_);
#my ($file) = m|^rsync://(.*)| or next;
#$file =~ /::/ or $file = $_;
propagate_sync_callback($options, 'start', $file);