uninstall -f ignores nonexisting packages.

This commit is contained in:
Todd Gamblin
2015-02-18 16:21:15 -08:00
parent c7b8a4e25c
commit 2eda01c703

View File

@@ -66,6 +66,7 @@ def uninstall(parser, args):
tty.die(*args)
if len(matching_specs) == 0:
if args.force: continue
tty.die("%s does not match any installed packages." % spec)
for s in matching_specs: