From 39294d8c180bb7ffd8b5459e27ed7ed2c62eaa6f Mon Sep 17 00:00:00 2001 From: pvincent Date: Mon, 10 Aug 2026 19:07:41 +0400 Subject: [PATCH] fix install --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fc9bce9..614a34f 100755 --- a/install.sh +++ b/install.sh @@ -32,7 +32,7 @@ set -Eeuo pipefail ! assert_supported_distro && echo 'unsupported distro: debian-like OR arch-like expected' && exit 2 export MIAOU_BASH_DIR -if [[ -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 miaou-bash "$MIAOU_BASH_DIR/lib/self-upgrade.bash" else bootstrap