refactor instal/upgrade process

This commit is contained in:
Usman Nasir
2020-04-13 11:01:15 +05:00
parent 1177c43ad3
commit 32fa62d8f8
3 changed files with 19 additions and 34 deletions

View File

@@ -1932,7 +1932,7 @@ milter_default_action = accept
if self.distro == centos:
command = 'yum --enablerepo=CyberPanel install restic -y'
else:
command = 'dnf --enablerepo=CyberPanel install restic -y'
command = 'dnf --enablerepo=CyberPanel install restic -y --nogpgcheck'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
else: