From 53c206d98709aac4db20d829ca34744891fa2ee4 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Sun, 29 Jan 2023 02:58:40 +0000 Subject: [PATCH] bumd mistake 2 --- 2-install-packages/init.sh | 6 +++--- 3-post-reboot/init.sh | 2 +- post-reboot.sh | 2 +- setup.sh | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/2-install-packages/init.sh b/2-install-packages/init.sh index 2ae0a95..85265bc 100755 --- a/2-install-packages/init.sh +++ b/2-install-packages/init.sh @@ -1,4 +1,4 @@ -script_full_path=$(dirname "$0") +script_full_path="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -source $script_full_path/pacman.sh -source $script_full_path/chaotic-aur.sh +source "$script_full_path"/pacman.sh +source "$script_full_path"/chaotic-aur.sh diff --git a/3-post-reboot/init.sh b/3-post-reboot/init.sh index 5a91447..ecf53bc 100755 --- a/3-post-reboot/init.sh +++ b/3-post-reboot/init.sh @@ -1,4 +1,4 @@ -script_full_path=$(dirname "$0") +script_full_path="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" source $script_full_path/sevices.sh source $script_full_path/aur.sh diff --git a/post-reboot.sh b/post-reboot.sh index dc3de4f..9a8c8ec 100755 --- a/post-reboot.sh +++ b/post-reboot.sh @@ -1,3 +1,3 @@ -script_full_path=$(dirname "$0") +script_full_path="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" source $script_full_path/4-post-reboot/init.sh diff --git a/setup.sh b/setup.sh index 7197421..7836f96 100755 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,7 @@ -script_full_path=$(dirname "$0") +script_full_path="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -source $script_full_path/1-initial/init.sh +#source $script_full_path/1-initial/init.sh source $script_full_path/2-install-packages/init.sh echo "Installing bootloader" -refind-install +#refind-install