diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-01-21 18:13:23 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-01-21 18:13:23 +0000 |
commit | 21ee7d23cf3f2b8c8db477159e52fc52e2135392 (patch) | |
tree | b1faca9fd386feb05cf9528ec635ed29e7c1c517 /urpmi.addmedia | |
parent | 5345fa279b27fb20eae7d914f222ef1362f35508 (diff) | |
download | urpmi-21ee7d23cf3f2b8c8db477159e52fc52e2135392.tar urpmi-21ee7d23cf3f2b8c8db477159e52fc52e2135392.tar.gz urpmi-21ee7d23cf3f2b8c8db477159e52fc52e2135392.tar.bz2 urpmi-21ee7d23cf3f2b8c8db477159e52fc52e2135392.tar.xz urpmi-21ee7d23cf3f2b8c8db477159e52fc52e2135392.zip |
perl_checker fix
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia index 3eb0dc7c..caecc345 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -154,7 +154,7 @@ and [options] are from $options{distrib} eq 'updates' && $options{version} eq 'cooker' and die N("cannot add updates of a cooker distribution\n"); #- get mirrors list file in urpmi cache. - my ($basename) = $options{from} =~ /^.*\/([^\/]+)\/*$/; + my ($basename) = $options{from} =~ m|^.*/([^/]+)/*$|; unlink "$urpm->{cachedir}/partial/$basename"; eval { $urpm->{log}(N("retrieving mirrors at %s ...", $options{from})); |