Use uname to get arch

This commit is contained in:
Dylan 2016-04-05 00:49:21 +10:00
parent f306506c57
commit a8cf5600f8
1 changed files with 2 additions and 6 deletions

View File

@ -513,12 +513,8 @@ ascii_distro="$distro"
getdistro () {
# Get architecture
if [ "$os_arch" == "on" ]; then
case "$(getconf LONG_BIT)" in
64) distro+=" 64-bit" ;;
32) distro+=" 32-bit" ;;
esac
fi
[ "$os_arch" == "on" ] && \
distro+=" $(uname -m)"
}