From ad361a3d354bba80005481f58bf08595632ebd1a Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 12 Apr 2005 10:59:36 +0000 Subject: Never update static media --- urpm.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urpm.pm b/urpm.pm index 631a943a..66119e73 100644 --- a/urpm.pm +++ b/urpm.pm @@ -1022,6 +1022,8 @@ sub update_media { #- if we're rebuilding all media, mark them as modified (except removable ones) $medium->{modified} ||= $options{all} && $medium->{url} !~ m!^removable://!; + #- don't ever update static media + $medium->{static} and $medium->{modified} = 0; unless ($medium->{modified}) { #- the medium is not modified, but to compute dependencies, -- cgit v1.2.1