mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
35 lines
814 B
Text
35 lines
814 B
Text
# Template file for 'arch'
|
|
OSNAME="arch"
|
|
PRETTY="Arch Linux"
|
|
LOGO=" "
|
|
ICON="arch.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/arch.png"
|
|
CATEGORY="Desktop, Server"
|
|
BASEDOF="-"
|
|
HOMEPAGE="https://archlinux.org"
|
|
DESCRIPTION="Lightweight and flexible Linux® distribution that tries to Keep It Simple"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
|
|
function releases_() {
|
|
echo latest
|
|
}
|
|
|
|
function arch_() {
|
|
echo amd64
|
|
}
|
|
|
|
function get_() {
|
|
local HASH=""
|
|
local ISO=""
|
|
local URL="https://mirror.rackspace.com/archlinux"
|
|
ISO=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].iso_url')
|
|
HASH=$(web_pipe "https://archlinux.org/releng/releases/json/" | jq -r '.releases[0].sha256_sum')
|
|
echo "${URL}${ISO} ${HASH}"
|
|
}
|
|
|
|
function config_() {
|
|
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
|
|
}
|