mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-20 14:42:31 +02:00
11 lines
256 B
Python
11 lines
256 B
Python
import os
|
|
import sys
|
|
sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
|
|
|
|
from lib.core import execute
|
|
|
|
def update_():
|
|
execute.run1(
|
|
'git fetch --all && git reset --hard origin/master && ./install.sh')
|
|
sys.exit(0)
|