Distro: Add last fallback if no distro was detected

This commit is contained in:
Muhammad Herdiansyah 2016-11-21 21:06:06 +07:00
parent 74acf0a69e
commit 524a43dd33

View file

@ -243,6 +243,8 @@ get_distro() {
;;
esac
[[ -z "$distro" ]] && distro="$os (Unknown)"
# Get architecture
[[ "$os_arch" == "on" ]] && \
distro+=" ${machine_arch}"