diff --git a/install2.sh b/install2.sh index 91c4a55..bc87d60 100755 --- a/install2.sh +++ b/install2.sh @@ -27,7 +27,8 @@ deployment_type_adjective="${1:-installed}" if [[ "$UID" -ne 0 ]]; then sudo -vp 'root privilege required: ' - echo sudo "$0" "$deployment_type_adjective" + echo curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash -E + curl -s https://git.artcode.re/miaou/miaou-bash/raw/branch/main/install2.sh | sudo bash -E exec bash -l else if [[ -d "$MIAOU_BASH_DIR" && -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then