diff --git a/selfdrive/manager.py b/selfdrive/manager.py index fd79b2006d51c0..4c95bc06f675bb 100755 --- a/selfdrive/manager.py +++ b/selfdrive/manager.py @@ -4,6 +4,7 @@ import fcntl import errno import signal +import subprocess from common.basedir import BASEDIR sys.path.append(os.path.join(BASEDIR, "pyextra")) @@ -19,6 +20,8 @@ copyfile(os.path.join(BASEDIR, "scripts", "continue.sh"), "/data/data/com.termux/files/continue.sh") # run the updater + print "Starting NEOS updater" + subprocess.check_call(["git", "clean", "-xdf"], cwd=BASEDIR) os.system(os.path.join(BASEDIR, "installer", "updater", "updater")) raise Exception("NEOS outdated")