mirror of
https://github.com/amidevous/xui.one
synced 2026-07-15 17:20:03 +02:00
Update install.python3
This commit is contained in:
+5
-5
@@ -56,11 +56,11 @@ if __name__ == "__main__":
|
|||||||
# START #
|
# START #
|
||||||
##################################################
|
##################################################
|
||||||
|
|
||||||
try: rVersion = os.popen('lsb_release -sr').read().strip()
|
#try: rVersion = os.popen('lsb_release -sr').read().strip()
|
||||||
except: rVersion = None
|
#except: rVersion = None
|
||||||
if not rVersion in rVersions:
|
#if not rVersion in rVersions:
|
||||||
printc("Unsupported Operating System")
|
# printc("Unsupported Operating System")
|
||||||
sys.exit(1)
|
# sys.exit(1)
|
||||||
|
|
||||||
if not os.path.exists("./xui.tar.gz") and not os.path.exists("./xui_trial.tar.gz"):
|
if not os.path.exists("./xui.tar.gz") and not os.path.exists("./xui_trial.tar.gz"):
|
||||||
print("Fatal Error: xui.tar.gz is missing. Please download it from XUI billing panel.")
|
print("Fatal Error: xui.tar.gz is missing. Please download it from XUI billing panel.")
|
||||||
|
|||||||
Reference in New Issue
Block a user