Fixes in scripts for fedora
This commit is contained in:
parent
d54f94379b
commit
4914a1f0e7
8 changed files with 77 additions and 17 deletions
|
|
@ -30,3 +30,9 @@ elif linux_distro=='debian':
|
|||
if call(update_command, shell=True) > 0:
|
||||
print('Error, cannot upgrade server...')
|
||||
exit(1)
|
||||
elif linux_distro=='rocky' or linux_distro=='fedora':
|
||||
|
||||
if call("sudo dnf upgrade -y", shell=True) > 0:
|
||||
print('Error, cannot upgrade server...')
|
||||
exit(1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue