mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
25 lines
767 B
Text
25 lines
767 B
Text
INFO=" |Trisquel|Debian,Ubuntu||https://trisquel.info/|Fully free operating system for home users, small enterprises and educational centers.";;
|
|
|
|
function releases_trisquel() {
|
|
echo 11.0 10.0.1
|
|
}
|
|
|
|
function editions_trisquel() {
|
|
echo mate lxde kde sugar
|
|
}
|
|
|
|
function get_trisquel() {
|
|
local EDITION="${1:-}"
|
|
local HASH=""
|
|
local ISO=""
|
|
local URL="https://mirrors.ocf.berkeley.edu/trisquel-images"
|
|
|
|
case ${EDITION} in
|
|
mate) ISO="trisquel_${RELEASE}_amd64.iso";;
|
|
lxde) ISO="trisquel-mini_${RELEASE}_amd64.iso";;
|
|
kde) ISO="triskel_${RELEASE}_amd64.iso";;
|
|
sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";;
|
|
esac
|
|
HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | grep "${ISO}" | cut_1)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|