forked from techyminati/python_codes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpe.py
More file actions
14 lines (14 loc) · 672 Bytes
/
pe.py
File metadata and controls
14 lines (14 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
import sys
print ("==========================================")
print (" Welcome to PE Sync Script ")
print ("==========================================")
n=input("Press Y to Continue, N to Exit: ")
if (n=="Y") or (n=="y") :
print("Starting Sync..")
print (" Warning: Repo is needed to be installed in prior of running this script)
os.system('repo init -u https://github.com/PixelExperience/manifest -b eleven')
print ("Starting Repo Sync")
os.system('repo sync -c --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)')
else :
print("Re run script to start sync incase you mistakenly pressed 'N' ")