From 559de5c65ed3dea0aa1809788d4b345e329f7c1e Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 5 Dec 2013 17:54:43 +0100 Subject: [PATCH] add fnmatch() support for apt remove too (just like install) --- library/packaging/apt | 1 + 1 file changed, 1 insertion(+) diff --git a/library/packaging/apt b/library/packaging/apt index 829a689fc2..6ca2177e9a 100644 --- a/library/packaging/apt +++ b/library/packaging/apt @@ -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')