diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 7ac13c973..581f2a61d 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2341,6 +2341,8 @@ echo $oConfig->Save() ? 'Done' : 'Error'; if Upgrade.installedOutput.find('restic') == -1: command = 'yum install restic -y' Upgrade.executioner(command, 'Install Restic') + command = 'restic self-update' + Upgrade.executioner(command, 'Install Restic') else: if Upgrade.installedOutput.find('restic/bionic,now 0.8') == -1: @@ -2349,6 +2351,9 @@ echo $oConfig->Save() ? 'Done' : 'Error'; command = 'apt-get install restic -y' Upgrade.executioner(command, 'Install Restic') + + command = 'restic self-update' + Upgrade.executioner(command, 'Install Restic') @staticmethod def UpdateMaxSSLCons():