From 59f38c4089d2196fc5fe9c233e385aa6c64fe299 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 20 Jul 2024 17:44:12 +0200 Subject: [PATCH] Added correct value for raspberry pi 4 --- scripts/image/setup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index a0859f7..6c4b2ec 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -69,12 +69,13 @@ case "$operation_system" in image_checksum="0E1BA7FFD14AAAE5F0462C8293D95B62C3BF1D9E726E26977BD04772C55680D3" ;; "arch") - question "Which Raspberry Pi will be used(e.g.:1,2,3,4,aarch64):" && read -r version + question "Which Raspberry Pi will be used (e.g.: 1, 2, 3, 4, aarch64):" && read -r version base_download_url="http://os.archlinuxarm.org/os/"; - if [ "$version" == "1" ] - then + if [ "$version" == "1" ]; then image_name="ArchLinuxARM-rpi-latest.tar.gz" - else + elif [ "$version" == "4" ]; then + image_name="ArchLinuxARM-rpi-aarch64-latest.tar.gz" + else image_name="ArchLinuxARM-rpi-$version-latest.tar.gz" fi ;;