From 4c3ac04dad759686e956abc25699279b60a518c2 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Wed, 3 May 2023 00:47:19 +0200 Subject: [PATCH] Update 'install.sh' --- install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 58f9e72..287a34f 100644 --- a/install.sh +++ b/install.sh @@ -198,10 +198,12 @@ function install_deb { } function init { - log_info "Found Architecture: $ARCH" - if ! user_confirm "Is '$ARCH' the correct architecture to download programs?"; then - log_info "Exiting ..." - exit 0 + if [ ! -z "$P_BINARY" ] || [ ! -z "$P_DEB" ]; then + log_info "Found Architecture: $ARCH" + if ! user_confirm "Is '$ARCH' the correct architecture to download programs?"; then + log_info "Exiting ..." + exit 0 + fi fi if [ ! -z "$P_APT" ]; then log_info "Running apt update ..."