summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/cmd/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cmd/install.sh b/lib/cmd/install.sh
index d1ec81d..e690962 100644
--- a/lib/cmd/install.sh
+++ b/lib/cmd/install.sh
@@ -52,6 +52,8 @@ cmd_install_main()
if [ "x${cmd_install_opt_a+set}" = 'xset' ]; then
arch="${cmd_install_opt_a}"
+ else
+ arch="$(profile_detect_arch)"
fi
if [ "x${cmd_install_opt_P+set}" = 'xset' ]; then
plat="${cmd_install_opt_P}"