diff options
-rw-r--r-- | urpm.pm | 4 | ||||
-rwxr-xr-x | urpmi | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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}) { @@ -357,7 +357,7 @@ if ($auto_update && !$bug && !$env) { quiet => $verbose < 0, ); foreach (@{$urpm->{media} || []}) { - $_->{modified} and delete $_->{ignore}; + $_->{tempignore} and delete $_->{ignore}; } } |