summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm4
-rwxr-xr-xurpmi2
2 files changed, 3 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index a526c011..6771a7af 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -526,7 +526,7 @@ sub configure {
$urpm->select_media(split /,/, $options{media});
foreach (grep { !$_->{modified} } @{$urpm->{media} || []}) {
#- this is only a local ignore that will not be saved.
- $_->{ignore} = 1;
+ $_->{tempignore} = $_->{ignore} = 1;
}
}
if ($options{searchmedia}) {
@@ -543,7 +543,7 @@ sub configure {
$urpm->select_media(split /,/, $options{excludemedia});
foreach (grep { $_->{modified} } @{$urpm->{media} || []}) {
#- this is only a local ignore that will not be saved.
- $_->{ignore} = 1;
+ $_->{tempignore} = $_->{ignore} = 1;
}
}
if ($options{sortmedia}) {
diff --git a/urpmi b/urpmi
index 643b9cb6..ce2f6095 100755
--- a/urpmi
+++ b/urpmi
@@ -357,7 +357,7 @@ if ($auto_update && !$bug && !$env) {
quiet => $verbose < 0,
);
foreach (@{$urpm->{media} || []}) {
- $_->{modified} and delete $_->{ignore};
+ $_->{tempignore} and delete $_->{ignore};
}
}