From 72410f8fd855b75e6dff0502d20a6afa8f227fff Mon Sep 17 00:00:00 2001 From: twoone3 Date: Sun, 28 Jul 2024 18:48:54 +0800 Subject: [PATCH] Update customize.sh Fixed redundant code --- customize.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/customize.sh b/customize.sh index f773a31..a20ee96 100644 --- a/customize.sh +++ b/customize.sh @@ -1,19 +1,15 @@ ADG_DIR="$MODPATH/bin" case $ARCH in arm64) - mv "$ADG_DIR/AdGuardHome_arm64" "$ADG_DIR/AdGuardHome" - rm -f "$ADG_DIR/AdGuardHome_armv7" + ui_print "- Installing AdGuardHome for arm64" ;; arm) - mv "$ADG_DIR/AdGuardHome_armv7" "$ADG_DIR/AdGuardHome" - rm -f "$ADG_DIR/AdGuardHome_arm64" + ui_print "- Installing AdGuardHome for armv7" ;; x86) - # mv "$ADG_DIR/AdGuardHome_x86" "$ADG_DIR/AdGuardHome" abort "x86 is not supported" ;; x64) - # mv "$ADG_DIR/AdGuardHome_x64" "$ADG_DIR/AdGuardHome" abort "x64 is not supported" ;; esac