run get-dotfiles.sh with full path

This commit is contained in:
Pratham Patel 2023-11-20 18:27:39 +05:30
parent c5f32b134c
commit cd136e16e1
No known key found for this signature in database

View File

@ -39,7 +39,7 @@ git --git-dir="${HOME}/.dotfiles" --work-tree="${HOME}" checkout -f
rm -rf "${HOME}/.config/nvim" rm -rf "${HOME}/.config/nvim"
EOF EOF
chmod +x get-dotfiles.sh 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 rm -vf get-dotfiles.sh
# Lock the root account # Lock the root account