Distro: Show release info by default.
This commit is contained in:
parent
1bd9f1759c
commit
c354ddcd76
4
neofetch
4
neofetch
|
@ -76,9 +76,9 @@ get_distro() {
|
||||||
case "$distro_shorthand" in
|
case "$distro_shorthand" in
|
||||||
"on") lsb_flags="-sir" ;;
|
"on") lsb_flags="-sir" ;;
|
||||||
"tiny") lsb_flags="-si" ;;
|
"tiny") lsb_flags="-si" ;;
|
||||||
*) lsb_flags="-sd" ;;
|
*) lsb_flags="-sdr" ;;
|
||||||
esac
|
esac
|
||||||
distro="$(lsb_release $lsb_flags)"
|
distro="$(lsb_release "$lsb_flags")"
|
||||||
|
|
||||||
elif [[ -f "/etc/GoboLinuxVersion" ]]; then
|
elif [[ -f "/etc/GoboLinuxVersion" ]]; then
|
||||||
case "$distro_shorthand" in
|
case "$distro_shorthand" in
|
||||||
|
|
Reference in New Issue