From 37da9f33a919fe56135b1bbec15ffdc892e93a76 Mon Sep 17 00:00:00 2001 From: Fabien LAMAISON <66472074+kerin444@users.noreply.github.com> Date: Sat, 17 Sep 2022 10:43:06 +0100 Subject: [PATCH] Update for Ubuntu 22.04 Add support for Ubuntu 22.04 with correct PHP and CURL versions --- scripts/rtinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/rtinst b/scripts/rtinst index 17349c4f..39da18d3 100755 --- a/scripts/rtinst +++ b/scripts/rtinst @@ -249,6 +249,12 @@ if [ "$relno" = "21" ] || [ "$(lsb_release -sr)" = "21.04" ]; then libcver=libcurl4 fi +if [ "$relno" = "22" ] || [ "$(lsb_release -sr)" = "22.04" ]; then + phpver=php7.4 + phploc=/etc/php/7.4 + libcver=libcurl4 +fi + serveripa=$(ip route get 8.8.8.8 | awk 'NR==1 {print $7}') serveripb=$(wget -qO- --timeout=3 ipecho.net/plain) serveripc=$(wget -qO- --timeout=3 ipinfo.io/ip)