12 lines
389 B
Bash
Raw Normal View History

2023-12-07 21:32:32 +01:00
# ------------------------------------------------------
# Copy dotfiles
# ------------------------------------------------------
if [ -f ~/dotfiles-versions/hook.sh ]; then
2023-12-21 21:57:44 +01:00
figlet "Hook"
2023-12-07 21:32:32 +01:00
echo "The script has detected a hook.sh script."
if gum confirm "Do you want to run the script now?"; then
source ~/dotfiles-versions/hook.sh
echo "hook.sh executed!"
fi
fi