Added correct value for raspberry pi 4

This commit is contained in:
Kevin Veen-Birkenbach 2024-07-20 17:44:12 +02:00
parent 93beadb519
commit 59f38c4089

View File

@ -71,9 +71,10 @@ case "$operation_system" in
"arch")
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"
elif [ "$version" == "4" ]; then
image_name="ArchLinuxARM-rpi-aarch64-latest.tar.gz"
else
image_name="ArchLinuxARM-rpi-$version-latest.tar.gz"
fi