From 14d3c69dd870fc2e137947f413f1cb1103222112 Mon Sep 17 00:00:00 2001 From: Christopher Beckmann Date: Tue, 2 May 2023 23:51:18 +0200 Subject: [PATCH] Update 'install.sh' --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0f72197..6489868 100644 --- a/install.sh +++ b/install.sh @@ -4,6 +4,8 @@ function show_help { echo "This is the help" } +ARCH=$(/usr/bin/dpkg --print-architecture) + while getopts "h?vyi:acrbm:" opt; do case "$opt" in h|\?) show_help; exit 0 ;; @@ -30,8 +32,6 @@ CONFIG_PATH="$HOME_PATH/.config" BINARY_PATH="/usr/bin" RC_FILE=".zshrc" -ARCH=$(/usr/bin/dpkg --print-architecture) - function log { color $1 "[$2]" echo "$3"