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