PR: Add ability to override image detection (#442)
This commit is contained in:
parent
cafb187d26
commit
7e6a5d1b1d
|
@ -533,7 +533,11 @@ detectImage() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
|
|
||||||
if [ -n "$CUSTOM" ]; then
|
if [ -n "$CUSTOM" ]; then
|
||||||
DETECTED=""
|
if [ -f "/run/assets/custom.xml" ]; then
|
||||||
|
DETECTED="custom"
|
||||||
|
else
|
||||||
|
DETECTED=""
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
|
if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
|
||||||
DETECTED="$VERSION"
|
DETECTED="$VERSION"
|
||||||
|
|
Loading…
Reference in New Issue