mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Add Archcraft
This commit is contained in:
parent
7db5167cac
commit
72432bfad7
1 changed files with 16 additions and 0 deletions
16
quickget
16
quickget
|
@ -34,6 +34,7 @@ function pretty_name() {
|
|||
alpine) PRETTY_NAME="Alpine Linux";;
|
||||
android) PRETTY_NAME="Android x86";;
|
||||
archlinux) PRETTY_NAME="Arch Linux";;
|
||||
archcraft) PRETTY_NAME="Archcraft";;
|
||||
arcolinux) PRETTY_NAME="Arco Linux";;
|
||||
cachyos) PRETTY_NAME="CachyOS";;
|
||||
centos-stream) PRETTY_NAME="CentOS Stream";;
|
||||
|
@ -162,6 +163,7 @@ function os_support() {
|
|||
alpine \
|
||||
android \
|
||||
archlinux \
|
||||
archcraft \
|
||||
arcolinux \
|
||||
batocera \
|
||||
cachyos \
|
||||
|
@ -236,6 +238,10 @@ function releases_archlinux() {
|
|||
echo latest
|
||||
}
|
||||
|
||||
function releases_archcraft() {
|
||||
echo latest
|
||||
}
|
||||
|
||||
function releases_arcolinux() {
|
||||
echo v21.09.11 v21.11.05 v22.01.10
|
||||
}
|
||||
|
@ -867,6 +873,16 @@ function get_archlinux() {
|
|||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
function get_archcraft() {
|
||||
local HASH=""
|
||||
local URL=""
|
||||
local TMPURL=""
|
||||
|
||||
TMPURL=$(wget -q -S -O- --max-redirect=0 "https://sourceforge.net/projects/archcraft/files/latest/download" 2>&1 | grep -i Location | cut -d' ' -f4)
|
||||
URL=${TMPURL%\?*}
|
||||
echo "${URL} ${HASH}"
|
||||
}
|
||||
|
||||
function get_arcolinux() {
|
||||
local EDITION="${1:-}"
|
||||
local HASH=""
|
||||
|
|
Loading…
Reference in a new issue