diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-12 10:59:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-12 10:59:36 +0000 |
commit | ad361a3d354bba80005481f58bf08595632ebd1a (patch) | |
tree | 4ff2adb0069c33f61878cacf2b789ef665dd1887 /urpm.pm | |
parent | 39b8eca775908d6ecab0421d1383b8c1407f27e0 (diff) | |
download | urpmi-ad361a3d354bba80005481f58bf08595632ebd1a.tar urpmi-ad361a3d354bba80005481f58bf08595632ebd1a.tar.gz urpmi-ad361a3d354bba80005481f58bf08595632ebd1a.tar.bz2 urpmi-ad361a3d354bba80005481f58bf08595632ebd1a.tar.xz urpmi-ad361a3d354bba80005481f58bf08595632ebd1a.zip |
Never update static media
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |