summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia
index f556e158..dd2791e3 100755
--- a/urpmi.removemedia
+++ b/urpmi.removemedia
@@ -49,7 +49,7 @@ where <name> is a medium name to remove.
}
@toremoves == 0 and die N("the entry to remove is missing\n(one of %s)\n", join(", ", @entries));
- $urpm->select_media(@toremoves);
+ $urpm->select_media({ strict_match => 1 }, @toremoves);
$urpm->remove_selected_media;
$urpm->update_media(noclean => $options{noclean});