|
|
|
@ -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 |