Commit a8cf5600 authored by Dylan's avatar Dylan

Use uname to get arch

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