update default php path

This commit is contained in:
Usman Nasir
2020-05-13 20:20:23 +05:00
parent 9ff8c9ee44
commit 8e356637b6
2 changed files with 6 additions and 1 deletions

View File

@@ -1040,6 +1040,11 @@ if [[ $REDIS == "ON" ]] ; then
fi fi
after_install after_install
fi fi
if [[ $UBUNTU_20 == "True" ]] ; then
cp /usr/local/lsws/lsphp73/bin/php /usr/bin
fi
} }
pip_virtualenv() { pip_virtualenv() {

View File

@@ -70,7 +70,7 @@ class ApplicationInstaller(multi.Thread):
if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu: if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
if package == 'all': if package == 'all':
command = 'apt-get update -y' command = 'DEBIAN_FRONTEND=noninteractive apt-get update -y'
f.write(ProcessUtilities.outputExecutioner(command)) f.write(ProcessUtilities.outputExecutioner(command))
f.flush() f.flush()