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