uninstall -f ignores nonexisting packages.
This commit is contained in:
@@ -66,6 +66,7 @@ def uninstall(parser, args):
|
|||||||
tty.die(*args)
|
tty.die(*args)
|
||||||
|
|
||||||
if len(matching_specs) == 0:
|
if len(matching_specs) == 0:
|
||||||
|
if args.force: continue
|
||||||
tty.die("%s does not match any installed packages." % spec)
|
tty.die("%s does not match any installed packages." % spec)
|
||||||
|
|
||||||
for s in matching_specs:
|
for s in matching_specs:
|
||||||
|
Reference in New Issue
Block a user