Fix in progress
This commit is contained in:
parent
96b06f24bc
commit
3f9648371e
1 changed files with 5 additions and 1 deletions
|
|
@ -23,6 +23,10 @@ elif linux_distro=='debian':
|
|||
print('Error, cannot upgrade server...')
|
||||
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...')
|
||||
exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue