Distro: Show release info by default.

This commit is contained in:
Dylan Araps 2018-04-22 11:09:05 +10:00
parent 1bd9f1759c
commit c354ddcd76
1 changed files with 2 additions and 2 deletions

View File

@ -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