summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/thandy/packagesys/ThpPackages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/packagesys/ThpPackages.py b/lib/thandy/packagesys/ThpPackages.py
index 84e55c5..b558d59 100644
--- a/lib/thandy/packagesys/ThpPackages.py
+++ b/lib/thandy/packagesys/ThpPackages.py
@@ -140,7 +140,7 @@ class ThpChecker(PS.Checker):
versions, status = self.getInstalledVersions()
# if status = IN_PROGRESS a previous installation failed
# we need to reinstall
- return (status != "IN_PROGRESS" and self._version in versions)
+ return (status == "INSTALLED" and self._version in versions)
class ThpTransaction(object):
""" Represents the installation of a bundle that contains thp packages. """