# Template file for 'deepin' OSNAME="deepin" PRETTY="Deepin" BASEDOF="Debian" DESCRIPTION="Beautiful UI design, intimate human-computer interaction, and friendly community environment make you feel at home" HOMEPAGE="https://www.deepin.org" CREDENTIALS="-" RELEASES="25-alpha 23.1 23 20.9" function get_() { local HASH="" local REV=${RELEASE} # deepin-desktop-community-20.3-amd64.iso local URL="https://cdimage.deepin.com/releases/"${RELEASE} # Correct URL for 23-RC onwards which has architecture directories if [ "${RELEASE}" != "20.9" ]; then URL+="/amd64" fi local ISO="deepin-desktop-community-${REV}-amd64.iso" HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "${ISO}" | cut -d' ' -f1) echo "${URL}/${ISO} ${HASH}" } function specific_tweaks() { echo "disk_size=\"64G\"" >> "${CONF_FILE}" echo "ram=\"4G\"" >> "${CONF_FILE}" }