Skip to content

Commit

Permalink
Merge pull request #605 from kerin444/patch-1
Browse files Browse the repository at this point in the history
Update for Ubuntu 22.04
  • Loading branch information
arakasi72 authored Sep 26, 2022
2 parents 82929c0 + 37da9f3 commit 46d514b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/rtinst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 46d514b

Please sign in to comment.