Update install.python3

This commit is contained in:
amidevous
2024-10-12 13:03:38 +02:00
committed by GitHub
parent 958f1d8612
commit ab6ef9b1df
+5 -5
View File
@@ -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.")