Use 32-bit and 64-bit for arch

This commit is contained in:
Dylan 2016-04-04 22:16:54 +10:00
parent e75a67f92b
commit b07d18d6d0
1 changed files with 6 additions and 2 deletions

View File

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