Revert "newlines"

This reverts commit f58ba59b0b.
This commit is contained in:
oshaboy 2022-03-13 01:42:38 +02:00
parent 89e716160d
commit e95c8ebe5f

View file

@ -998,19 +998,16 @@ get_distro() {
on|tiny) distro="OS Elbrus" ;;
*) distro="OS Elbrus $(< /etc/mcst_version)"
esac
elif [[ -f /etc/linspire-version ]]; then
case $distro_shorthand in
on|tiny) distro="Linspire" ;;
*) distro="Linspire $(awk '/Version/ {print $2}' /etc/linspire-version)"
esac
elif [[ -f /etc/lindowsos-version ]]; then
case $distro_shorthand in
on|tiny) distro="LindowsOS" ;;
*) distro="$(awk '/Version/ {print $2,$3}' /etc/lindowsos-version)"
esac
elif type -p pveversion >/dev/null; then
case $distro_shorthand in
on|tiny) distro="Proxmox VE" ;;