Unverified Commit 8c51f2ed authored by dylan's avatar dylan Committed by GitHub

Merge pull request #1406 from rxrbln/master

Added initial t2 Linux support
parents 64a207de 83a92ca5
...@@ -997,6 +997,12 @@ get_distro() { ...@@ -997,6 +997,12 @@ get_distro() {
*) distro="GoboLinux $(< /etc/GoboLinuxVersion)" *) distro="GoboLinux $(< /etc/GoboLinuxVersion)"
esac 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 elif type -p crux >/dev/null; then
distro=$(crux) distro=$(crux)
case $distro_shorthand in case $distro_shorthand in
...@@ -1446,6 +1452,7 @@ get_packages() { ...@@ -1446,6 +1452,7 @@ get_packages() {
has sorcery && tot gaze installed has sorcery && tot gaze installed
has alps && tot alps showinstalled has alps && tot alps showinstalled
has butch && tot butch list has butch && tot butch list
has mine && tot mine -q
# Counting files/dirs. # Counting files/dirs.
# Variables need to be unquoted here. Only Bedrock Linux is affected. # Variables need to be unquoted here. Only Bedrock Linux is affected.
...@@ -9369,6 +9376,19 @@ ${c2} `-++:` ...@@ -9369,6 +9376,19 @@ ${c2} `-++:`
EOF 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"*) "openSUSE Tumbleweed"* | "openSUSE_Tumbleweed"*)
set_colors 2 7 set_colors 2 7
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment