Use uname -m instead of uname -p, for Debian

On Debian uname -p returns 'unknown'.
This commit is contained in:
Gábor Csárdi 2023-01-10 16:25:31 +01:00
commit be9465a997

View file

@ -497,7 +497,7 @@ do_install () {
prompt_version
[ -z $SELECTED_VERSION ] && { echo "Invalid version"; exit 1; }
arch=$(uname -p)
arch=$(uname -m)
# Get the name of the installer to use
installer_file_name=$(download_name "${os}" "${SELECTED_VERSION}" "${arch}")