From 8e356637b68c343e522a860c9517aee31762900c Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Wed, 13 May 2020 20:20:23 +0500 Subject: [PATCH] update default php path --- cyberpanel.sh | 5 +++++ plogical/applicationInstaller.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index d111d9433..6ad5356fb 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1040,6 +1040,11 @@ if [[ $REDIS == "ON" ]] ; then fi after_install fi + +if [[ $UBUNTU_20 == "True" ]] ; then + cp /usr/local/lsws/lsphp73/bin/php /usr/bin +fi + } pip_virtualenv() { diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index 811906953..a2e71dcb9 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -70,7 +70,7 @@ class ApplicationInstaller(multi.Thread): if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu: if package == 'all': - command = 'apt-get update -y' + command = 'DEBIAN_FRONTEND=noninteractive apt-get update -y' f.write(ProcessUtilities.outputExecutioner(command)) f.flush()