diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 02:06:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 02:06:05 +0000 |
commit | 01f500e8ee880ad2c249d0fcdad00b70d721c257 (patch) | |
tree | 91846ad4c90c9044b8a8d1231ad0337dda8f97c2 | |
parent | b224e4793f45d3f0f0c19bc7aa31670340171ec7 (diff) | |
download | urpmi-01f500e8ee880ad2c249d0fcdad00b70d721c257.tar urpmi-01f500e8ee880ad2c249d0fcdad00b70d721c257.tar.gz urpmi-01f500e8ee880ad2c249d0fcdad00b70d721c257.tar.bz2 urpmi-01f500e8ee880ad2c249d0fcdad00b70d721c257.tar.xz urpmi-01f500e8ee880ad2c249d0fcdad00b70d721c257.zip |
Simplify regexp
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -618,7 +618,7 @@ sub add_medium { #- creating the medium info. if ($options{virtual}) { - $url =~ m|^file:/*(/[^/].*)/| or $urpm->{fatal}(1, N("virtual medium needs to be local")); + $url =~ m{^file:/} or $urpm->{fatal}(1, N("virtual medium needs to be local")); $medium = { name => $name, url => $url, |