diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-08-15 17:54:20 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-08-15 17:54:20 +0000 |
commit | d08c4ddf45cd35af5fb1381a11485f46b7148e1d (patch) | |
tree | ed1347db676fd2821cd88914fd72360e12311980 /src/lib/Client | |
parent | 40c284b0890bfdbf72e941bfbf341527256f251e (diff) | |
download | bcfg2-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/lib/Client')
-rw-r--r-- | src/lib/Client/Redhat.py | 2 |
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() |