Compare commits
2 Commits
5e31d0f0dc
...
1c429d1129
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c429d1129 | |||
| e5a1483f5a |
@@ -299,7 +299,7 @@ getVersion() {
|
||||
buildah rm "$cnt" &>/dev/null
|
||||
# Webscrape
|
||||
elif installPackage wget && MCVERSION=$(wget -qO- "$boardurl" | grep -o "[0-9][0-9]\.[0-9]\.[0-9]\+" | head -n 1) &&
|
||||
[[ ! "$MCVERSION" =~ ([0-9]+.[0-9]+.[0-9]+) ]]; then
|
||||
[[ "$MCVERSION" =~ ([0-9]+.[0-9]+.[0-9]+) ]]; then
|
||||
VERSION_SOURCE="webscrape"
|
||||
# Hardcoded
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user