From 0cfd5cf824d3decac83b42d02c7cefc357ad02c9 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 3 Dec 2020 11:04:06 +0500 Subject: [PATCH] temp: bypass php8.0 fail on ubuntu --- install/installCyberPanel.py | 2 +- plogical/upgrade.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 8a67dec79..e689ea660 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -241,7 +241,7 @@ class InstallCyberPanel: install.preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR) - command = 'yum install lsphp80*' + command = 'yum install lsphp80* -y' subprocess.call(command, shell=True) if self.distro == cent8: diff --git a/plogical/upgrade.py b/plogical/upgrade.py index ff30343f3..6fb7526e6 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1939,7 +1939,7 @@ echo $oConfig->Save() ? 'Done' : 'Error'; Upgrade.executioner(command, 'Install PHP 74, 0') if Upgrade.installedOutput.find('lsphp80') == -1: - command = 'yum install lsphp80*' + command = 'yum install lsphp80* -y' subprocess.call(command, shell=True) except: