From 61edbb9631d47282767b8dc9a128101c74519006 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 25 Dec 2003 08:23:54 +0000 Subject: fix regexp on removable media --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') 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 -- cgit v1.2.1