Update install.sh

This commit is contained in:
Kroese 2024-05-05 17:18:24 +02:00 committed by GitHub
parent 7c16919322
commit 766c704d3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -681,12 +681,8 @@ detectImage() {
XML=""
if [ -n "$CUSTOM" ]; then
DETECTED=""
else
if [ -z "$DETECTED" ] && [[ "${version,,}" != "http"* ]]; then
DETECTED="$version"
fi
if [ -z "$DETECTED" ] && [[ "${version,,}" != "http"* ]]; then
[ -z "$CUSTOM" ] && DETECTED="$version"
fi
if [ -n "$DETECTED" ]; then