diff --git a/backend/web/landing/www/install.py b/backend/web/landing/www/install.py index fdb781f..1aae2ca 100644 --- a/backend/web/landing/www/install.py +++ b/backend/web/landing/www/install.py @@ -54,7 +54,7 @@ cmd = tmpFilePath + ' install' if os.environ.get('HISHTORY_OFFLINE'): cmd += " --offline" exitCode = os.system(cmd) +os.remove(tmpFilePath) if exitCode != 0: raise Exception("failed to install downloaded hishtory client via `" + tmpFilePath +" install` (is that directory mounted noexec? Consider setting an alternate directory via the TMPDIR environment variable)!") -os.remove(tmpFilePath) print('Succesfully installed hishtory! Open a new terminal, try running a command, and then running `hishtory query`.')