distro: Remove 'Enterprise Server' from SUSE output. Closes #807

This commit is contained in:
dylan araps 2017-08-16 16:53:10 +10:00
parent 93e4f41677
commit f27981b3d7
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ get_distro() {
;;
esac
distro="${distro//Enterprise Server}"
[[ -z "$distro" ]] && distro="$os (Unknown)"
# Get OS architecture.