fixed update commands
This commit is contained in:
parent
ad97725634
commit
d7a01340b7
@ -12,8 +12,9 @@ def shutdown_system():
|
|||||||
os.system('sudo shutdown now')
|
os.system('sudo shutdown now')
|
||||||
|
|
||||||
def update():
|
def update():
|
||||||
os.system('bash "export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin && cd ~/pocket_friends && git '
|
os.system('bash "cd ~/pocket_friends & git pull"')
|
||||||
'pull"')
|
os.system('bash "cd ~/pocket_friends & git checkout ."')
|
||||||
os.system('bash "export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin && cd ~/pocket_friends && git '
|
sys.exit(1)
|
||||||
'checkout ."')
|
|
||||||
|
def restart_app():
|
||||||
sys.exit(1)
|
sys.exit(1)
|
Loading…
Reference in New Issue
Block a user