fix: Revert PR (#445)

This commit is contained in:
Kroese authored and GitHub committed 2024-05-02 01:09:28 +02:00
1 parent 7e6a5d1b1d
commit 63c6fc0808
1 file changed
-4
-4
View File
@@ -533,11 +533,7 @@ detectImage() {
local dir="$1"
if [ -n "$CUSTOM" ]; then
if [ -f "/run/assets/custom.xml" ]; then
DETECTED="custom"
else
DETECTED=""
fi
else
if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
DETECTED="$VERSION"