From 9d0866940f6e794949ab7e00891bec5c93f7f0a8 Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 7 Aug 2026 23:01:26 +0400 Subject: [PATCH] small fix --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8d5518b..7bf0745 100755 --- a/install.sh +++ b/install.sh @@ -31,7 +31,7 @@ function bootstrap { ## MAIN [[ "$UID" -ne 0 ]] && echo 'root privilege required' && exit 1 -if [[ -v MIAOU_BASH_DIR ]]; then +if [[ -v MIAOU_BASH_DIR && -d "$MIAOU_BASH_DIR" ]]; then miaou-bash "$MIAOU_BASH_DIR/lib/self-upgrade.bash" else bootstrap