summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools
diff options
context:
space:
mode:
authorMichael Jinks <mjinks@uchicago.edu>2007-01-29 17:10:24 +0000
committerMichael Jinks <mjinks@uchicago.edu>2007-01-29 17:10:24 +0000
commit165e844631b9a48c5842ea602a400e854100e4ba (patch)
treeaacf88831c01310d3f3dd2466364b4de440360d9 /src/lib/Client/Tools
parenta331cc8dc2527f6eb8dcf895121d18773b8e76d9 (diff)
downloadbcfg2-165e844631b9a48c5842ea602a400e854100e4ba.tar.gz
bcfg2-165e844631b9a48c5842ea602a400e854100e4ba.tar.bz2
bcfg2-165e844631b9a48c5842ea602a400e854100e4ba.zip
Sometimes packages are being installed without the prefix "=" in the
package atom. This join might have fixed that, but I'm not entirely sure. Needs more testing. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2725 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools')
-rw-r--r--src/lib/Client/Tools/Portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/Portage.py b/src/lib/Client/Tools/Portage.py
index 6a5b8b451..a801157b5 100644
--- a/src/lib/Client/Tools/Portage.py
+++ b/src/lib/Client/Tools/Portage.py
@@ -61,7 +61,7 @@ class Portage(Bcfg2.Client.Tools.PkgTool):
if len(packages) > 0:
self.logger.info('Removing packages:')
self.logger.info(packages)
- self.cmd.run("emerge --unmerge --quiet %s" % " ".join(packages))
+ self.cmd.run("emerge --unmerge --quiet =%s" % " =".join(packages))
self.RefreshPackages()
self.extra = self.FindExtraPackages()