diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 07:30:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 07:30:36 +0000 |
commit | 4f9b601add405529bb30fce55c543623bce4b2e3 (patch) | |
tree | 72a61a6bde00a850bfecc2cdfc161d70a35a253a /urpm/download.pm | |
parent | 7e3403527deaca8655dcc4c3befd6dbe53e33cbb (diff) | |
download | urpmi-4f9b601add405529bb30fce55c543623bce4b2e3.tar urpmi-4f9b601add405529bb30fce55c543623bce4b2e3.tar.gz urpmi-4f9b601add405529bb30fce55c543623bce4b2e3.tar.bz2 urpmi-4f9b601add405529bb30fce55c543623bce4b2e3.tar.xz urpmi-4f9b601add405529bb30fce55c543623bce4b2e3.zip |
Finish to implement file:// urls where the "file:/" is optional
Diffstat (limited to 'urpm/download.pm')
-rw-r--r-- | urpm/download.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/download.pm b/urpm/download.pm index 1520bdda..d5ad44f1 100644 --- a/urpm/download.pm +++ b/urpm/download.pm @@ -155,7 +155,7 @@ sub propagate_sync_callback { sub sync_file { my $options = shift; foreach (@_) { - my ($in) = m!^(?:removable[^:]*|file):/(.*)!; + my ($in) = m!^(?:removable[^:]*:/|file:/)(/.*)!; propagate_sync_callback($options, 'start', $_); system("cp", "-p", "-R", $in || $_, ref($options) ? $options->{dir} : $options) and die N("copy failed"); |