Browse Source

fix: Revert PR (#445)

Kroese 1 year ago
parent
commit
63c6fc0808
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/install.sh

+ 1 - 5
src/install.sh

@@ -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="custom"
-    else
-      DETECTED=""
-    fi
+    DETECTED=""
   else
   else
     if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
     if [ -z "$DETECTED" ] && [[ "$EXTERNAL" != [Yy1]* ]]; then
       DETECTED="$VERSION"
       DETECTED="$VERSION"