From cdad734271ccf4b3f09e31ac30147fded63869ac Mon Sep 17 00:00:00 2001 From: pvincent Date: Mon, 29 Apr 2024 21:15:36 +0400 Subject: [PATCH] fix arch --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3367110..00eb1e6 100755 --- a/install.sh +++ b/install.sh @@ -44,7 +44,9 @@ if [[ $CURDIR != '/opt/miaou-bash' ]]; then fi else - source "$CURDIR/lib/functions.sh" - "$CURDIR/tools/idem_apt_install" "${REQUIRED_PKGS[@]}" + MIAOU_BASH_DIR=$CURDIR + export MIAOU_BASH_DIR + source "$MIAOU_BASH_DIR/lib/functions.sh" + "$MIAOU_BASH_DIR/tools/idem_apt_install" "${REQUIRED_PKGS[@]}" ./init.sh fi