Update install.py

This commit is contained in:
2025-10-17 20:26:12 +00:00
parent 377585e98e
commit f09bd44ae4

View File

@@ -19,7 +19,7 @@ def update_system():
os.system('sudo apt-get update && sudo apt-get upgrade -y')
elif is_rhel:
os.system('sudo dnf upgrade -y')
else
else:
print(f"Update not supported for: {os_type}")
exit(1)
@@ -28,7 +28,7 @@ def install(package):
os.system(f'sudo apt-get install {p} -y')
elif is_rhel:
os.system(f'sudo dnf install {p} -y')
else
else:
print(f"Install not supported for: {os_type}")
exit(1)