diff options
author | Tomas Touceda <chiiph@gentoo.org> | 2011-06-22 10:08:57 -0300 |
---|---|---|
committer | Tomas Touceda <chiiph@gentoo.org> | 2011-06-22 10:08:57 -0300 |
commit | f7d25a033439d904d24a4ef290fab440b0a54a1a (patch) | |
tree | bcdc877a33e0bb7046eac9f62c42f5a0d5ead6c7 /lib/thandy/packagesys/PackageSystem.py | |
parent | 54665d3d4871ec3c23bb69d699f7bf6a6079f419 (diff) |
Add really simple checker, installer and thpdb
But it's still not finished.
Diffstat (limited to 'lib/thandy/packagesys/PackageSystem.py')
-rw-r--r-- | lib/thandy/packagesys/PackageSystem.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/thandy/packagesys/PackageSystem.py b/lib/thandy/packagesys/PackageSystem.py index 6a8ab60..ccf5532 100644 --- a/lib/thandy/packagesys/PackageSystem.py +++ b/lib/thandy/packagesys/PackageSystem.py @@ -107,6 +107,10 @@ def getInstaller(relPath, extra, defaultFormat, package): import thandy.packagesys.ExePackages installer = thandy.packagesys.ExePackages.CommandInstaller( relPath, extra['cmd_install'], extra.get('cmd_remove')) + elif installType == 'thp': + import thandy.packagesys.ThpPackages + installer = thandy.packagesys.ThpPackages.ThpInstaller( + relPath) else: return None |