small fix
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user