diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2003-12-25 08:23:54 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2003-12-25 08:23:54 +0000 |
commit | 61edbb9631d47282767b8dc9a128101c74519006 (patch) | |
tree | 4331a4cb23e8fddee893fdfc53118f348e8b9560 /urpm.pm | |
parent | 85e5eff098c1945e7d3e20fe96ce21619a20a71e (diff) | |
download | urpmi-61edbb9631d47282767b8dc9a128101c74519006.tar urpmi-61edbb9631d47282767b8dc9a128101c74519006.tar.gz urpmi-61edbb9631d47282767b8dc9a128101c74519006.tar.bz2 urpmi-61edbb9631d47282767b8dc9a128101c74519006.tar.xz urpmi-61edbb9631d47282767b8dc9a128101c74519006.zip |
fix regexp on removable media
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1175,7 +1175,7 @@ sub update_media { -s "$urpm->{statedir}/synthesis.$medium->{hdlist}" > 32 or $medium->{modified_synthesis} = 1; #- but do not take care of removable media for all. - $medium->{modified} ||= $options{all} && $medium->{url} !~ /removable/; + $medium->{modified} ||= $options{all} && $medium->{url} !~ m!^removable://!; unless ($medium->{modified}) { #- the medium is not modified, but for computing dependencies, #- we still need to read it and all synthesis will be written if |