From cd136e16e169a653a62bce87f2882ff1292b676d Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 20 Nov 2023 18:27:39 +0530 Subject: [PATCH] run get-dotfiles.sh with full path --- includes/post/user-setup.ksi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/post/user-setup.ksi b/includes/post/user-setup.ksi index 22b0d93..0b1e831 100644 --- a/includes/post/user-setup.ksi +++ b/includes/post/user-setup.ksi @@ -39,7 +39,7 @@ git --git-dir="${HOME}/.dotfiles" --work-tree="${HOME}" checkout -f rm -rf "${HOME}/.config/nvim" EOF chmod +x get-dotfiles.sh -sudo -i -u "${USER_NAME}" bash get-dotfiles.sh +sudo -i -u "${USER_NAME}" bash "$PWD/get-dotfiles.sh" rm -vf get-dotfiles.sh # Lock the root account