mirror of
				https://github.com/kevinveenbirkenbach/linux-image-manager.git
				synced 2025-11-03 17:08:03 +00:00 
			
		
		
		
	Reduced complecity
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user