new installation process

This commit is contained in:
pvincent
2026-08-18 18:16:43 +04:00
parent 2b87c6cf0a
commit ab7eabb62e
2 changed files with 3 additions and 4 deletions
+1 -3
View File
@@ -55,11 +55,9 @@ function sudo_root {
}
## MAIN
# source <(curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh)
set -Eeuo pipefail
assert_supported_distro
sudo_root
deployment_type_adjective="${1:-installed}"
if once_installed; then upgrade; else install; fi
exec bash -l
[[ $deployment_type_adjective == 'installed' ]] && exec bash -l