From 30e2a650ebd4eea383b07b08396203b455d24ca0 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 18 Aug 2026 18:18:57 +0400 Subject: [PATCH] new installation process --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 78ac636..3f96c4f 100755 --- a/install.sh +++ b/install.sh @@ -59,5 +59,9 @@ set -Eeuo pipefail assert_supported_distro sudo_root deployment_type_adjective="${1:-installed}" + if once_installed; then upgrade; else install; fi -[[ $deployment_type_adjective == 'installed' ]] && exec bash -l + +if [[ $deployment_type_adjective == 'installed' ]]; then + exec bash -l +fi