mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Add Trisquel GNU Linux
This commit is contained in:
parent
c9adf8c8fa
commit
971938f1e6
4 changed files with 60 additions and 0 deletions
18
icons/trisquel.svg
Normal file
18
icons/trisquel.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 20 KiB |
25
quickget
25
quickget
|
@ -261,6 +261,7 @@ function os_support() {
|
||||||
solus \
|
solus \
|
||||||
tails \
|
tails \
|
||||||
tinycore \
|
tinycore \
|
||||||
|
trisquel \
|
||||||
truenas-core \
|
truenas-core \
|
||||||
truenas-scale \
|
truenas-scale \
|
||||||
tuxedoos \
|
tuxedoos \
|
||||||
|
@ -726,6 +727,14 @@ function editions_tinycore() {
|
||||||
echo Core TinyCore CorePlus CorePure64 TinyCorePure64
|
echo Core TinyCore CorePlus CorePure64 TinyCorePure64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function releases_trisquel() {
|
||||||
|
echo 10.0.1 11.0
|
||||||
|
}
|
||||||
|
|
||||||
|
function editions_trisquel() {
|
||||||
|
echo mate lxde kde sugar
|
||||||
|
}
|
||||||
|
|
||||||
function releases_truenas() {
|
function releases_truenas() {
|
||||||
if [[ $OS == truenas ]] ; then
|
if [[ $OS == truenas ]] ; then
|
||||||
echo "ERROR! The supported TrueNAS OS values are truenas-core or truenas-scale"
|
echo "ERROR! The supported TrueNAS OS values are truenas-core or truenas-scale"
|
||||||
|
@ -2108,6 +2117,22 @@ function get_tinycore() {
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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 -d' ' -f1)
|
||||||
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
|
}
|
||||||
|
|
||||||
function get_truenas-scale() {
|
function get_truenas-scale() {
|
||||||
local ISO=""
|
local ISO=""
|
||||||
local URL=""
|
local URL=""
|
||||||
|
|
|
@ -65,6 +65,7 @@ slitaz
|
||||||
solus
|
solus
|
||||||
tails
|
tails
|
||||||
tinycore
|
tinycore
|
||||||
|
trisquel
|
||||||
truenas-core
|
truenas-core
|
||||||
truenas-scale
|
truenas-scale
|
||||||
tuxedoos
|
tuxedoos
|
||||||
|
|
16
supported/trisquel.desktop
Normal file
16
supported/trisquel.desktop
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=0.80
|
||||||
|
Type=Application
|
||||||
|
Name=trisquel
|
||||||
|
GenericName=
|
||||||
|
Comment=
|
||||||
|
Exec=sh -c 'cd /home/zen/Git/DistroHopper && yad --form --separator=" " --field="Release:CB" "10.0.1"!"11.0" --field="Edition:CB" "mate"!"lxde"!"kde"!"sugar" | xargs -I{} sh -c "./quickget trisquel {}";/usr/bin/fish'
|
||||||
|
Icon=/home/zen/Git/DistroHopper/icons/trisquel.svg
|
||||||
|
Terminal=sakura
|
||||||
|
X-MultipleArgs=
|
||||||
|
Type=Application
|
||||||
|
Categories=System;Virtualization;
|
||||||
|
StartupNotify=
|
||||||
|
MimeType=
|
||||||
|
Keywords=
|
||||||
|
|
Loading…
Reference in a new issue