Merge pull request #1406 from rxrbln/master

Added initial t2 Linux support
This commit is contained in:
dylan 2020-02-07 21:32:19 +02:00 committed by GitHub
commit 8c51f2ede8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

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'