Skip to content

Commit fd76886

Browse files
committed
Correct architecture names
1 parent a03965b commit fd76886

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

halium-install

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)