فهرست منبع

fix: Revert PR (#445)

Kroese 1 سال پیش
والد
کامیت
63c6fc0808
1فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده
  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"