summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-15 17:54:20 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-15 17:54:20 +0000
commitd08c4ddf45cd35af5fb1381a11485f46b7148e1d (patch)
treeed1347db676fd2821cd88914fd72360e12311980 /src
parent40c284b0890bfdbf72e941bfbf341527256f251e (diff)
downloadbcfg2-d08c4ddf45cd35af5fb1381a11485f46b7148e1d.tar.gz
bcfg2-d08c4ddf45cd35af5fb1381a11485f46b7148e1d.tar.bz2
bcfg2-d08c4ddf45cd35af5fb1381a11485f46b7148e1d.zip
Add --allmatches to rpm -e calls (Resolves Ticket #86)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2069 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Redhat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Redhat.py b/src/lib/Client/Redhat.py
index f367e3315..848219b98 100644
--- a/src/lib/Client/Redhat.py
+++ b/src/lib/Client/Redhat.py
@@ -136,7 +136,7 @@ class ToolsetImpl(Toolset):
if len(self.pkgwork['remove']) > 0:
if self.setup['remove'] in ['all', 'packages']:
self.logger.info("Removing packages: %s" % self.pkgwork['remove'])
- if not self.saferun("rpm --quiet -e %s" % " ".join(self.pkgwork['remove']))[0]:
+ if not self.saferun("rpm --quiet -e --allmatches %s" % " ".join(self.pkgwork['remove']))[0]:
self.pkgwork['remove'] = []
self.Refresh()
self.Inventory()