Commit b9c4daf0 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #449 from konimex/master

Distro: Add last fallback for Linux and Hurd if no os-release was detected
parents 74acf0a6 524a43dd
...@@ -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