summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm2
1 files changed, 2 insertions, 0 deletions
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,