Unverified Commit 7e6a5d1b authored by lly-c232733's avatar lly-c232733 Committed by GitHub
Browse files

PR: Add ability to override image detection (#442)

parent cafb187d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -533,7 +533,11 @@ 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"