summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 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}) {