Commit 524a43dd authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Distro: Add last fallback if no distro was detected

parent 74acf0a6
...@@ -243,6 +243,8 @@ get_distro() { ...@@ -243,6 +243,8 @@ get_distro() {
;; ;;
esac esac
[[ -z "$distro" ]] && distro="$os (Unknown)"
# Get architecture # Get architecture
[[ "$os_arch" == "on" ]] && \ [[ "$os_arch" == "on" ]] && \
distro+=" ${machine_arch}" distro+=" ${machine_arch}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment