Merge pull request #449 from konimex/master

Distro: Add last fallback for Linux and Hurd if no os-release was detected
This commit is contained in:
Dylan Araps 2016-11-22 11:19:51 +11:00 committed by GitHub
commit b9c4daf099
1 changed files with 2 additions and 0 deletions

View File

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