1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-29 15:44:06 +00:00

ubuntu 21 fix

This commit is contained in:
mahmood61
2021-10-10 00:45:02 -04:00
parent 095db1ac33
commit fe45572921

View File

@@ -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)