Skip to content

Commit

Permalink
Update customize.sh
Browse files Browse the repository at this point in the history
Fixed redundant code
  • Loading branch information
twoone-3 committed Jul 28, 2024
1 parent 103f2ea commit 72410f8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions customize.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 72410f8

Please sign in to comment.