initial t2 support

This commit is contained in:
René Rebe 2020-02-07 19:36:21 +01:00
parent 64a207de56
commit 83a92ca5c2

View file

@ -997,6 +997,12 @@ get_distro() {
*) distro="GoboLinux $(< /etc/GoboLinuxVersion)"
esac
elif [[ -f /etc/SDE-VERSION ]]; then
distro="$(< /etc/SDE-VERSION)"
case $distro_shorthand in
on|tiny) distro="${distro% *}" ;;
esac
elif type -p crux >/dev/null; then
distro=$(crux)
case $distro_shorthand in
@ -1446,6 +1452,7 @@ get_packages() {
has sorcery && tot gaze installed
has alps && tot alps showinstalled
has butch && tot butch list
has mine && tot mine -q
# Counting files/dirs.
# Variables need to be unquoted here. Only Bedrock Linux is affected.
@ -9369,6 +9376,19 @@ ${c2} `-++:`
EOF
;;
"t2"*)
set_colors 7 4
read -rd '' ascii_data <<'EOF'
${c2}
TTTTTTTTTT
tt ${c1}222${c2}
tt ${c1}2 2${c2}
tt ${c1}2${c2}
tt ${c1}2${c2}
tt ${c1}22222${c2}
EOF
;;
"openSUSE Tumbleweed"* | "openSUSE_Tumbleweed"*)
set_colors 2 7
read -rd '' ascii_data <<'EOF'