summaryrefslogtreecommitdiff
path: root/lib/thandy/ClientCLI.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@torproject.org>2011-09-02 19:26:42 -0300
committerTomás Touceda <chiiph@torproject.org>2011-09-02 19:26:42 -0300
commit40b3a86a82054c88f5865cef9b8d7fff8486f768 (patch)
tree1d8d3ed0f0304c9a65db52a5817895da1516cbb5 /lib/thandy/ClientCLI.py
parentf3602b42ad6db5918323c3b3be1c0d4c335e9c61 (diff)
Run transactions only if --install is given, and create pkg-status if it doesn't exist
Diffstat (limited to 'lib/thandy/ClientCLI.py')
-rwxr-xr-xlib/thandy/ClientCLI.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/thandy/ClientCLI.py b/lib/thandy/ClientCLI.py
index 75aa347..2987918 100755
--- a/lib/thandy/ClientCLI.py
+++ b/lib/thandy/ClientCLI.py
@@ -156,8 +156,9 @@ def update(args):
i.install()
for bundle in thpTransactions:
- thandy.packagesys.ThpPackages.ThpTransaction(thpTransactions[bundle],
- repoRoot).install()
+ if install:
+ thandy.packagesys.ThpPackages.ThpTransaction(thpTransactions[bundle],
+ repoRoot).install()
return