mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-22 07:01:03 +01:00
Reduced complecity
This commit is contained in:
parent
7279d21284
commit
f6ddda7723
@ -43,14 +43,12 @@ case "$os" in
|
||||
question "Should the system be encrypted?(y/N)" && read -r encrypt_system
|
||||
question "Please type in which Raspberry Pi will be used(e.g.:1,2,3,4,aarch64):" && read -r version
|
||||
base_download_url="http://os.archlinuxarm.org/os/";
|
||||
case "$version" in
|
||||
"1")
|
||||
if [ "$version" == "1" ]
|
||||
then
|
||||
imagename="ArchLinuxARM-rpi-latest.tar.gz"
|
||||
;;
|
||||
*)
|
||||
else
|
||||
imagename="ArchLinuxARM-rpi-$version-latest.tar.gz"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
"manjaro")
|
||||
question "Please type in the version(e.g.:architect,gnome):" && read -r version
|
||||
|
Loading…
Reference in New Issue
Block a user