Update define.sh
This commit is contained in:
parent
c1ee15abe6
commit
c76fd848e5
1 changed files with 14 additions and 13 deletions
|
@ -16,10 +16,10 @@ getURL() {
|
||||||
url="https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/aarch64/alpine-virt-3.19.1-aarch64.iso" ;;
|
url="https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/aarch64/alpine-virt-3.19.1-aarch64.iso" ;;
|
||||||
"arch" )
|
"arch" )
|
||||||
name="Arch Linux"
|
name="Arch Linux"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"cachy" | "cachyos" )
|
"cachy" | "cachyos" )
|
||||||
name="CachyOS"
|
name="CachyOS"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"centos" )
|
"centos" )
|
||||||
name="CentOS Stream"
|
name="CentOS Stream"
|
||||||
url="https://mirrors.xtom.de/centos-stream/10-stream/BaseOS/aarch64/iso/CentOS-Stream-10-latest-aarch64-dvd1.iso" ;;
|
url="https://mirrors.xtom.de/centos-stream/10-stream/BaseOS/aarch64/iso/CentOS-Stream-10-latest-aarch64-dvd1.iso" ;;
|
||||||
|
@ -28,7 +28,7 @@ getURL() {
|
||||||
url="https://cdimage.debian.org/debian-cd/current/arm64/iso-dvd/debian-12.9.0-arm64-DVD-1.iso" ;;
|
url="https://cdimage.debian.org/debian-cd/current/arm64/iso-dvd/debian-12.9.0-arm64-DVD-1.iso" ;;
|
||||||
"endeavour" | "endeavouros" )
|
"endeavour" | "endeavouros" )
|
||||||
name="EndeavourOS"
|
name="EndeavourOS"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"fedora" )
|
"fedora" )
|
||||||
name="Fedora Linux"
|
name="Fedora Linux"
|
||||||
url="https://eu.edge.kernel.org/fedora/releases/41/Workstation/aarch64/images/Fedora-Workstation-41-1.4.aarch64.raw.xz" ;;
|
url="https://eu.edge.kernel.org/fedora/releases/41/Workstation/aarch64/images/Fedora-Workstation-41-1.4.aarch64.raw.xz" ;;
|
||||||
|
@ -40,25 +40,25 @@ getURL() {
|
||||||
url="https://cdimage.kali.org/kali-2024.4/kali-linux-2024.4-live-arm64.iso" ;;
|
url="https://cdimage.kali.org/kali-2024.4/kali-linux-2024.4-live-arm64.iso" ;;
|
||||||
"kubuntu" )
|
"kubuntu" )
|
||||||
name="Kubuntu"
|
name="Kubuntu"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"macos" | "osx" )
|
"macos" | "osx" )
|
||||||
name="macOS"
|
name="macOS"
|
||||||
error "To install $name use: https://github.com/dockur/macos" && exit 34 ;;
|
error "To install $name use: https://github.com/dockur/macos" && return 1 ;;
|
||||||
"mint" | "linuxmint" )
|
"mint" | "linuxmint" )
|
||||||
name="Linux Mint"
|
name="Linux Mint"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"manjaro" )
|
"manjaro" )
|
||||||
name="Manjaro"
|
name="Manjaro"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"mx" )
|
"mx" )
|
||||||
name="MX Linux"
|
name="MX Linux"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"nixos" )
|
"nixos" )
|
||||||
name="NixOS"
|
name="NixOS"
|
||||||
url="https://channels.nixos.org/nixos-24.11/latest-nixos-gnome-aarch64-linux.iso" ;;
|
url="https://channels.nixos.org/nixos-24.11/latest-nixos-gnome-aarch64-linux.iso" ;;
|
||||||
"opensuse" | "suse" )
|
"opensuse" | "suse" )
|
||||||
name="OpenSUSE"
|
name="OpenSUSE"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"oracle" )
|
"oracle" )
|
||||||
name="Oracle Linux"
|
name="Oracle Linux"
|
||||||
url="https://yum.oracle.com/ISOS/OracleLinux/OL9/u5/aarch64/OracleLinux-R9-U5-aarch64-boot-uek.iso" ;;
|
url="https://yum.oracle.com/ISOS/OracleLinux/OL9/u5/aarch64/OracleLinux-R9-U5-aarch64-boot-uek.iso" ;;
|
||||||
|
@ -67,10 +67,10 @@ getURL() {
|
||||||
url="https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-Workstation-aarch64-latest.iso" ;;
|
url="https://dl.rockylinux.org/pub/rocky/9/live/aarch64/Rocky-9-Workstation-aarch64-latest.iso" ;;
|
||||||
"slack" | "slackware" )
|
"slack" | "slackware" )
|
||||||
name="Slackware"
|
name="Slackware"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"tails" )
|
"tails" )
|
||||||
name="Tails"
|
name="Tails"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
"ubuntu" )
|
"ubuntu" )
|
||||||
name="Ubuntu Desktop"
|
name="Ubuntu Desktop"
|
||||||
url="https://cdimage.ubuntu.com/ubuntu/releases/24.10/release/ubuntu-24.10-desktop-arm64.iso" ;;
|
url="https://cdimage.ubuntu.com/ubuntu/releases/24.10/release/ubuntu-24.10-desktop-arm64.iso" ;;
|
||||||
|
@ -79,13 +79,14 @@ getURL() {
|
||||||
url="https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.2-live-server-arm64.iso" ;;
|
url="https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.2-live-server-arm64.iso" ;;
|
||||||
"windows" )
|
"windows" )
|
||||||
name="Windows"
|
name="Windows"
|
||||||
error "To install $name use: https://github.com/dockur/windows" && exit 34 ;;
|
error "To install $name use: https://github.com/dockur/windows" && return 1 ;;
|
||||||
"xubuntu" )
|
"xubuntu" )
|
||||||
name="Xubuntu"
|
name="Xubuntu"
|
||||||
error "No image for $name is available for ARM64 yet! " && exit 34 ;;
|
error "No image for $name is available for ARM64 yet! " && return 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "${ret,,}" in
|
case "${ret,,}" in
|
||||||
|
"test" ) ;;
|
||||||
"name" ) echo "$name" ;;
|
"name" ) echo "$name" ;;
|
||||||
*) echo "$url";;
|
*) echo "$url";;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue