File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,16 @@ check_busybox()
4848 export device_architecture=$( do_shell " uname -m" )
4949 export busybox_exists=$( do_shell " if [ -d /sbin/busybox ]; then echo true; else echo false; fi" )
5050
51- if [ $busybox_exists = " true" ]; then
51+ if [ $busybox_exists = true ]; then
5252 echo ' Using already installed busybox'
5353 else
5454 if [ $device_architecture = x86_64 ]; then
5555 wget https://github.com/meefik/busybox/raw/master/app/src/main/assets/intel/static/bin/busybox
5656 elif [ $device_architecture = armv7l ]; then
5757 wget https://github.com/meefik/busybox/raw/master/app/src/main/assets/arm/static/bin/busybox
58- elif [ $device_architecture = arm64 ]; then
58+ elif [ $device_architecture = aarch64 ]; then
59+ wget https://github.com/meefik/busybox/raw/master/app/src/main/assets/arm/static/bin/busybox
60+ elif [ $device_architecture = armv8l ]; then
5961 wget https://github.com/meefik/busybox/raw/master/app/src/main/assets/arm/static/bin/busybox
6062 fi
6163
You can’t perform that action at this time.
0 commit comments