summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2003-12-25 08:23:54 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2003-12-25 08:23:54 +0000
commit61edbb9631d47282767b8dc9a128101c74519006 (patch)
tree4331a4cb23e8fddee893fdfc53118f348e8b9560 /urpm.pm
parent85e5eff098c1945e7d3e20fe96ce21619a20a71e (diff)
downloadurpmi-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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 516fb3a9..9fb1aec1 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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