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