Kroese 1 rok pred
rodič
commit
63c6fc0808
1 zmenil súbory, kde vykonal 1 pridanie a 5 odobranie
  1. 1 5
      src/install.sh

+ 1 - 5
src/install.sh

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