Switch to apt-get

This commit is contained in:
Shivam Mathur 2020-10-13 18:44:17 +05:30
parent 093498a0a1
commit 1394617d60
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -427,8 +427,8 @@ master_version="8.0"
old_versions="5.[3-5]" old_versions="5.[3-5]"
debconf_fix="DEBIAN_FRONTEND=noninteractive" debconf_fix="DEBIAN_FRONTEND=noninteractive"
github="https://github.com/shivammathur" github="https://github.com/shivammathur"
apt_install="sudo $debconf_fix apt-fast install -y" apt_install="sudo $debconf_fix apt-get install -y"
apt_remove="sudo $debconf_fix apt-fast remove -y" apt_remove="sudo $debconf_fix apt-get remove -y"
tool_path_dir="/usr/local/bin" tool_path_dir="/usr/local/bin"
curl_opts=(-sL) curl_opts=(-sL)
existing_version=$(php-config --version 2>/dev/null | cut -c 1-3) existing_version=$(php-config --version 2>/dev/null | cut -c 1-3)