Skip to content

Commit 72410f8

Browse files
committed
Update customize.sh
Fixed redundant code
1 parent 103f2ea commit 72410f8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

customize.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
ADG_DIR="$MODPATH/bin"
22
case $ARCH in
33
arm64)
4-
mv "$ADG_DIR/AdGuardHome_arm64" "$ADG_DIR/AdGuardHome"
5-
rm -f "$ADG_DIR/AdGuardHome_armv7"
4+
ui_print "- Installing AdGuardHome for arm64"
65
;;
76
arm)
8-
mv "$ADG_DIR/AdGuardHome_armv7" "$ADG_DIR/AdGuardHome"
9-
rm -f "$ADG_DIR/AdGuardHome_arm64"
7+
ui_print "- Installing AdGuardHome for armv7"
108
;;
119
x86)
12-
# mv "$ADG_DIR/AdGuardHome_x86" "$ADG_DIR/AdGuardHome"
1310
abort "x86 is not supported"
1411
;;
1512
x64)
16-
# mv "$ADG_DIR/AdGuardHome_x64" "$ADG_DIR/AdGuardHome"
1713
abort "x64 is not supported"
1814
;;
1915
esac

0 commit comments

Comments
 (0)