Reduced complexity

This commit is contained in:
Kevin Veen-Birkenbach 2020-10-02 17:11:51 +02:00
parent 16f8f5b7f5
commit 4ae0a5e523

View File

@ -96,14 +96,8 @@ case "$os" in
"1") "1")
imagename="ArchLinuxARM-rpi-latest.tar.gz" imagename="ArchLinuxARM-rpi-latest.tar.gz"
;; ;;
"2") "2"|"3"|"4")
imagename="ArchLinuxARM-rpi-2-latest.tar.gz" imagename="ArchLinuxARM-rpi-$version-latest.tar.gz"
;;
"3")
imagename="ArchLinuxARM-rpi-3-latest.tar.gz"
;;
"4")
imagename="ArchLinuxARM-rpi-4-latest.tar.gz"
;; ;;
*) *)
os_does_not_support_raspberry_version_error os_does_not_support_raspberry_version_error