summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-20 13:54:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-20 13:54:18 +0000
commit0f5539c70960451b4b2c68dec6861227aa743243 (patch)
tree5a82277802289299013e46b1f36cdf8522736d0a
parentb8b668d4eaa2b4a725ed8b58e24a95d4ab9c4658 (diff)
downloadurpmi-0f5539c70960451b4b2c68dec6861227aa743243.tar
urpmi-0f5539c70960451b4b2c68dec6861227aa743243.tar.gz
urpmi-0f5539c70960451b4b2c68dec6861227aa743243.tar.bz2
urpmi-0f5539c70960451b4b2c68dec6861227aa743243.tar.xz
urpmi-0f5539c70960451b4b2c68dec6861227aa743243.zip
Don't ignore modified but unselected media on auto-update. (bug #22354)
-rwxr-xr-xurpmi3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index f6e21d0c..9df0a6f4 100755
--- a/urpmi
+++ b/urpmi
@@ -351,6 +351,9 @@ if ($auto_update && !$bug && !$env) {
norebuild => $urpm->{options}{norebuild},
quiet => $verbose < 0,
);
+ foreach (@{$urpm->{media} || []}) {
+ $_->{modified} and delete $_->{ignore};
+ }
}
$urpm->configure( %config_hash );