From fe4557292185e87c832437f7284004a21d9b444f Mon Sep 17 00:00:00 2001 From: mahmood61 Date: Sun, 10 Oct 2021 00:45:02 -0400 Subject: [PATCH] ubuntu 21 fix --- scripts/rtinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/rtinst b/scripts/rtinst index 096bfad6..17349c4f 100755 --- a/scripts/rtinst +++ b/scripts/rtinst @@ -243,6 +243,12 @@ if [ "$relno" = "20" ] || [ "$(lsb_release -sr)" = "20.04" ] || [ "$relno" = "11 libcver=libcurl4 fi +if [ "$relno" = "21" ] || [ "$(lsb_release -sr)" = "21.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)