remove regolith from distro discovery

This commit is contained in:
Law Zava 2020-02-06 20:59:46 +01:00
parent 88723ac00f
commit a1d001dd2f

View file

@ -973,15 +973,6 @@ get_distro() {
esac esac
distro=$(lsb_release "$lsb_flags") distro=$(lsb_release "$lsb_flags")
# Temporary support for Regolith Linux
if [[ $DESKTOP_SESSION == "regolith" ]]; then
case $distro_shorthand in
on) distro+="-REGOLITH" ;;
tiny) distro+="-REGOLITH" ;;
*) distro=$(lsb_release -si)"-REGOLITH "$(lsb_release -sr) ;;
esac
fi
elif [[ -f /etc/os-release || \ elif [[ -f /etc/os-release || \
-f /usr/lib/os-release || \ -f /usr/lib/os-release || \
-f /etc/openwrt_release || \ -f /etc/openwrt_release || \
@ -8880,7 +8871,7 @@ d/hhhhhhhhhhhh${c3}`-/osyso+-`${c1}hhhhhhhhhhhh.h
EOF EOF
;; ;;
"Ubuntu-REGOLITH"*) "Regolith"*)
set_colors 1 set_colors 1
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c1} ${c1}