summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-29 19:17:41 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-29 19:17:41 +0000
commitf6e9ad855e966e8c8381069a44af324b1c3e2c0e (patch)
tree85da9a791080677bb049e9f20834500f904ebee0 /src/sbin
parent86808773a69ca84ed87fc95ff3e9e79648346a9c (diff)
downloadbcfg2-f6e9ad855e966e8c8381069a44af324b1c3e2c0e.tar.gz
bcfg2-f6e9ad855e966e8c8381069a44af324b1c3e2c0e.tar.bz2
bcfg2-f6e9ad855e966e8c8381069a44af324b1c3e2c0e.zip
fix package removal case
(Logical change 1.124) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@560 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rw-r--r--src/sbin/bcfg24
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index 2e335487b..23f5bd4e0 100644
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -105,7 +105,9 @@ if __name__ == '__main__':
correct = client.states.values().count(True)
total = len(client.states.values())
- if correct < total:
+ if ((correct < total) or client.pkgwork['remove']):
+ if client.pkgwork['remove']:
+ client.CondPrint('verbose', "Extra packages detected")
# summarize current state
client.CondPrint('verbose', "--> %s of %s config elements correct" % (correct, total))