mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-17 10:21:30 +02:00
Accept cli flags in install script (#254)
This commit is contained in:
@ -53,6 +53,8 @@ os.system('chmod +x ' + tmpFilePath)
|
||||
cmd = tmpFilePath + ' install'
|
||||
if os.environ.get('HISHTORY_OFFLINE'):
|
||||
cmd += " --offline"
|
||||
if len(sys.argv) > 1:
|
||||
cmd += " " + " ".join(sys.argv[1:])
|
||||
exitCode = os.system(cmd)
|
||||
os.remove(tmpFilePath)
|
||||
if exitCode != 0:
|
||||
|
Reference in New Issue
Block a user