Install wget for legacy fallback

This commit is contained in:
2021-12-28 10:34:00 -05:00
parent 662c55d0d0
commit 92a46d675e

View File

@@ -399,6 +399,7 @@ getLatestVersion() {
buildah rm "$CNT" > /dev/null 2>&1
fi
# Scrape from Interact
installPackage wget
if _mcversion=$(wget -qO- "$_boardurl" | grep -o "[0-9][0-9]\.[0-9]\.[0-9]\+" | head -n 1); then
_version_source="webscrape"
fi