diff --git a/src/install.sh b/src/install.sh index 6a63c19..8cffec7 100644 --- a/src/install.sh +++ b/src/install.sh @@ -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