Commit a8cf5600 authored by Dylan's avatar Dylan

Use uname to get arch

parent f306506c
......@@ -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)"
}
......
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