Commit 559de5c6 by Michael Vogt

add fnmatch() support for apt remove too (just like install)

parent 85d8587c
......@@ -267,6 +267,7 @@ def install(m, pkgspec, cache, upgrade=False, default_release=None,
def remove(m, pkgspec, cache, purge=False,
dpkg_options=expand_dpkg_options(DPKG_OPTIONS)):
packages = ""
pkgspec = expand_pkgspec_from_fnmatches(m, pkgspec, cache)
for package in pkgspec:
name, version = package_split(package)
installed, upgradable, has_files = package_status(m, name, version, cache, state='remove')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment