When executing the recommended installation command wget -qO - portal.spatiumportae.com | bash on systems where uname -m returns aarch64, the script installs the amd64 executable instead of the arm version.
This is because the script's architecture detection assumes an amd64 system when the output of uname -m contains the substring 64. Furthermore, the detection only interprets an output containing arm as arm system.
I would suggest moving the arm detection if case in front of the amd64 case and also adding aarch as possible arm substring.
When executing the recommended installation command
wget -qO - portal.spatiumportae.com | bashon systems whereuname -mreturnsaarch64, the script installs the amd64 executable instead of the arm version.This is because the script's architecture detection assumes an amd64 system when the output of
uname -mcontains the substring64. Furthermore, the detection only interprets an output containingarmas arm system.I would suggest moving the arm detection if case in front of the amd64 case and also adding
aarchas possible arm substring.