mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
76 lines
3.4 KiB
Text
76 lines
3.4 KiB
Text
ubuntustudio
|
|
|
|
ubuntustudio 16.04: https://cdimage.ubuntu.com/ubuntustudio/releases/16.04/release/ubuntustudio-16.04.5-dvd-amd64.iso
|
|
ubuntustudio 18.04: https://cdimage.ubuntu.com/ubuntustudio/releases/18.04/release/ubuntustudio-18.04-dvd-amd64.iso
|
|
ubuntustudio 20.04: https://cdimage.ubuntu.com/ubuntustudio/releases/20.04/release/ubuntustudio-20.04.5-dvd-amd64.iso
|
|
ubuntustudio 22.04: https://cdimage.ubuntu.com/ubuntustudio/releases/22.04/release/ubuntustudio-22.04.5-dvd-amd64.iso
|
|
ubuntustudio 24.04: https://cdimage.ubuntu.com/ubuntustudio/releases/24.04/release/ubuntustudio-24.04.2-dvd-amd64.iso
|
|
ubuntustudio 24.10: https://cdimage.ubuntu.com/ubuntustudio/releases/24.10/release/ubuntustudio-24.10-desktop-amd64.iso
|
|
ubuntustudio 25.04: https://cdimage.ubuntu.com/ubuntustudio/releases/25.04/release/ubuntustudio-25.04-desktop-amd64.iso
|
|
UbuntuStudio dvd is currently unavailable. Please select other OS/Release combination
|
|
|
|
# Template file for 'ubuntustudio'
|
|
OSNAME="ubuntustudio"
|
|
PRETTY="UbuntuStudio"
|
|
BASEDOF="Ubuntu"
|
|
DESCRIPTION="Comes preinstalled with a selection of the most common free multimedia applications available, and is configured for best performance for various purposes: Audio, Graphics, Video, Photography and Publishing"
|
|
HOMEPAGE="https://ubuntustudio.org"
|
|
CREDENTIALS="-"
|
|
GUEST="linux_old
|
|
linux_old"
|
|
|
|
RELEASES=""
|
|
|
|
|
|
function get_() {
|
|
local ISO=""
|
|
local HASH=""
|
|
local URL=""
|
|
local DATA=""
|
|
|
|
if [[ "${RELEASE}" == "daily"* ]] && [ "${OS}" == "ubuntustudio" ]; then
|
|
# Ubuntu Studio daily-live images are in the dvd directory
|
|
RELEASE="dvd"
|
|
fi
|
|
if [[ "${RELEASE}" == "jammy-daily" ]]; then
|
|
if [[ "${OS}" == "ubuntustudio" ]]; then
|
|
URL="https://cdimage.ubuntu.com/${OS}/jammy/dvd/current"
|
|
else
|
|
URL="https://cdimage.ubuntu.com/${OS}/jammy/daily-live/current"
|
|
fi
|
|
VM_PATH="${OS}-jammy-live"
|
|
elif [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then
|
|
URL="https://cdimage.ubuntu.com/${OS}/${RELEASE}/current"
|
|
VM_PATH="${OS}-${RELEASE}"
|
|
elif [ "${OS}" == "ubuntu" ]; then
|
|
URL="https://releases.ubuntu.com/${RELEASE}"
|
|
else
|
|
URL="https://cdimage.ubuntu.com/${OS}/releases/${RELEASE}/release"
|
|
fi
|
|
if web_check "${URL}/SHA256SUMS"; then
|
|
DATA=$(web_pipe "${URL}/SHA256SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac")
|
|
ISO=$(cut -d'*' -f2 <<<"${DATA}" | sed '1q;d')
|
|
HASH=$(cut -d' ' -f1 <<<"${DATA}" | sed '1q;d')
|
|
else
|
|
DATA=$(web_pipe "${URL}/MD5SUMS" | grep 'desktop\|dvd\|install' | grep amd64 | grep iso | grep -v "+mac")
|
|
ISO=$(cut -d'*' -f2 <<<"${DATA}")
|
|
HASH=$(cut -d' ' -f1 <<<"${DATA}")
|
|
fi
|
|
if [ -z "${ISO}" ] || [ -z "${HASH}" ]; then
|
|
echo "${PRETTY} ${RELEASE} is currently unavailable. Please select other OS/Release combination"
|
|
exit 1
|
|
fi
|
|
if [[ "${RELEASE}" == "daily"* ]] || [ "${RELEASE}" == "dvd" ]; then
|
|
zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-devel.iso"
|
|
make_vm_config "${OS}-devel.iso"
|
|
elif [[ "${RELEASE}" == "jammy-daily" ]]; then
|
|
zsync_get "${URL}/${ISO}" "${VM_PATH}" "${OS}-jammy-live.iso"
|
|
make_vm_config "${OS}-jammy-live.iso"
|
|
else
|
|
web_get "${URL}/${ISO}" "${VM_PATH}"
|
|
check_hash "${ISO}" "${HASH}"
|
|
make_vm_config "${ISO}"
|
|
fi
|
|
}
|
|
|
|
|