mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-25 01:33:28 +01:00
Delete the tmp hishtory-client download since it may be dropped in CWD rather than /tmp/
This commit is contained in:
parent
b10bf88ddf
commit
87b7671d22
@ -56,4 +56,5 @@ if os.environ.get('HISHTORY_OFFLINE'):
|
||||
exitCode = os.system(cmd)
|
||||
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`.')
|
||||
|
Loading…
Reference in New Issue
Block a user