Skip to content

Commit b9847e1

Browse files
authoredJul 5, 2018
Added updater as a builtin function
1 parent 3a1f018 commit b9847e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/tidos_updater.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def updater():
3131
mn = raw_input(O+' [#] Update? '+R+'(Y/n) :> '+O)
3232
if mn == 'Y' or mn == 'y':
3333
print GR+' [*] Updating...'
34-
os.system('git pull && git commit -m "Merged"')
34+
os.system('cd .. && git pull && git update-index --assume-unchanged tools/tidos_updater.py && git commit -m "Merged"')
3535
elif mn == 'n' or mn == 'N':
3636
print R+' [-] Okay... Not updated!\n'
3737
else:

0 commit comments

Comments
 (0)