From 2389bf68eec6983eca72da79972d8fdb7f92b3d0 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Sun, 29 Jan 2023 02:43:54 +0000 Subject: [PATCH] bumd mistake --- 1-initial/init.sh | 6 ++++-- 2-install-packages/init.sh | 6 ++++-- 3-post-reboot/init.sh | 10 ++++++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/1-initial/init.sh b/1-initial/init.sh index 0cc6827..31d929c 100644 --- a/1-initial/init.sh +++ b/1-initial/init.sh @@ -1,4 +1,6 @@ -source ./1-initial/config-changes.sh -source ./1-initial/create-user.sh +script_full_path=$(dirname "$0") + +source $script_full_path/config_changes.sh +source $script_full_path/create_user.sh diff --git a/2-install-packages/init.sh b/2-install-packages/init.sh index d54f9bc..2ae0a95 100755 --- a/2-install-packages/init.sh +++ b/2-install-packages/init.sh @@ -1,2 +1,4 @@ -source 2-install-packages/pacman.sh -source 2-install-packages/chaotic-aur.sh +script_full_path=$(dirname "$0") + +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 40a3657..5a91447 100755 --- a/3-post-reboot/init.sh +++ b/3-post-reboot/init.sh @@ -1,5 +1,7 @@ -source 3-post-reboot/sevices.sh -source 3-post-reboot/aur.sh -source 3-post-reboot/rustup.sh -source 3-post-reboot/ghcup.sh +script_full_path=$(dirname "$0") + +source $script_full_path/sevices.sh +source $script_full_path/aur.sh +source $script_full_path/rustup.sh +source $script_full_path/ghcup.sh