From d8ec60d6d013fdd7e72861e823a908bc6c9a3704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Fri, 29 Mar 2013 11:54:36 -0300 Subject: Merge updates directory Also, sets the env for thandy to work properly. --- src/launcher.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/launcher.py') diff --git a/src/launcher.py b/src/launcher.py index 61e2a7f..328c965 100644 --- a/src/launcher.py +++ b/src/launcher.py @@ -1,3 +1,4 @@ +import os import time import threading @@ -9,8 +10,12 @@ class Thandy(threading.Thread): def run(self): while True: try: + os.environ["THP_DB_ROOT"] = os.path.join(os.getcwd(), + "packages") + os.environ["THP_INSTALL_ROOT"] = os.path.join(os.getcwd(), + "updates") args = [ - "--repo=/home/chiiph/Code/leap/repo/", + "--repo=/home/chiiph/Code/leap/repo/", # TODO:set as a URL "--debug", "--install", "/bundleinfo/LEAPClient/" -- cgit v1.2.3