mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 09:32:21 +00:00
36 lines
989 B
Text
36 lines
989 B
Text
# Template file for 'slackware'
|
|
OSNAME="slackware"
|
|
PRETTY="slackware"
|
|
LOGO=" "
|
|
ICON="slackware.svg"
|
|
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/slackware.png"
|
|
CATEGORY="advanced"
|
|
BASEDOF="-"
|
|
DESCRIPTION="Advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities"
|
|
HOMEPAGE="http://www.slackware.com"
|
|
CREDENTIALS="-"
|
|
GPG=""
|
|
RSS=""
|
|
DW=""
|
|
MAGNET=""
|
|
CHAT=""
|
|
|
|
RELEASES="15.0 14.2 14.1 14.0 13.37"
|
|
QEMU_ARCH="amd64"
|
|
|
|
releases_() {
|
|
#shellcheck disable=SC2046,SC2005
|
|
echo $(web_pipe "https://mirrors.slackware.com/slackware/slackware-iso/" | grep "slackware-" | cut -d'<' -f7 | cut -d'-' -f2 | sort -ru | head -n 5)
|
|
}
|
|
|
|
get_() {
|
|
local HASH=""
|
|
local ISO="slackware64-${RELEASE}-install-dvd.iso"
|
|
local URL="https://mirrors.slackware.com/slackware/slackware-iso/slackware64-${RELEASE}-iso"
|
|
HASH=$(web_pipe "${URL}/${ISO}.md5" | cut -d' ' -f1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|
|
|
|
config_() {
|
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
|
}
|