mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
refactor instal/upgrade process
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user