parent
89e716160d
commit
e95c8ebe5f
1 changed files with 0 additions and 3 deletions
3
neofetch
3
neofetch
|
@ -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" ;;
|
||||
|
|
Loading…
Reference in a new issue