mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
Distro: Show release info by default.
This commit is contained in:
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
Block a user