quick fix

This commit is contained in:
pvincent
2026-08-16 13:49:43 +04:00
parent 2812d5ff47
commit 6c0e8f0ef0
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -18,8 +18,9 @@ function self_upgrade {
fi
}
#TODO: to remove
function repair_miaou_bash_dir {
if [[ -v MIAOU_BASH_DIR ]]; then
if [[ ! -v MIAOU_BASH_DIR ]]; then
>&2 echo 'WARNING: MIAOU_BASH_DIR undefined : repair-mode enabled'
MIAOU_BASH_DIR=/opt/miaou-bash
export MIAOU_BASH_DIR