fix: Revert PR (#445)

This commit is contained in:
Kroese 2024-05-02 01:09:28 +02:00 committed by GitHub
parent 7e6a5d1b1d
commit 63c6fc0808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -533,11 +533,7 @@ detectImage() {
local dir="$1" local dir="$1"
if [ -n "$CUSTOM" ]; then if [ -n "$CUSTOM" ]; then
if [ -f "/run/assets/custom.xml" ]; then DETECTED=""
DETECTED="custom"
else
DETECTED=""
fi
else else
if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
DETECTED="$VERSION" DETECTED="$VERSION"