This commit is contained in:
pvincent
2026-08-17 07:58:08 +04:00
parent e29802c6d5
commit 63c63c36b0
+2 -1
View File
@@ -27,7 +27,8 @@ deployment_type_adjective="${1:-installed}"
if [[ "$UID" -ne 0 ]]; then if [[ "$UID" -ne 0 ]]; then
sudo -vp 'root privilege required: ' 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 exec bash -l
else else
if [[ -d "$MIAOU_BASH_DIR" && -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then if [[ -d "$MIAOU_BASH_DIR" && -L /etc/inputrc && "$(readlink /etc/inputrc)" == "$MIAOU_BASH_DIR"/etc/inputrc ]]; then