Update install.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user