Fix in progress

This commit is contained in:
Antonio de la Rosa 2022-02-14 14:23:38 +01:00
parent 96b06f24bc
commit 3f9648371e

View file

@ -23,6 +23,10 @@ elif linux_distro=='debian':
print('Error, cannot upgrade server...') print('Error, cannot upgrade server...')
exit(1) exit(1)
if call('sudo DEBIAN_FRONTEND="noninteractive" apt-get -y upgrade', shell=True) > 0: # Update command
update_command='sudo DEBIAN_FRONTEND="noninteractive" apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade'
if call(update_command, shell=True) > 0:
print('Error, cannot upgrade server...') print('Error, cannot upgrade server...')
exit(1) exit(1)