This commit is contained in:
Stephan Raabe
2024-05-27 13:39:44 +02:00
parent 565d99a103
commit 99e132b989
15 changed files with 50 additions and 29 deletions
+4
View File
@@ -6,9 +6,13 @@ echo -e "${GREEN}"
figlet "Hook"
echo -e "${NONE}"
echo ":: The script has detected a hook.sh script."
echo
if gum confirm "Do you want to run the script now?"; then
source ~/dotfiles-versions/hook.sh
echo ":: hook.sh executed!"
elif [ $? -eq 130 ]; then
echo ":: Installation canceled."
exit 130
else
echo ":: Execution of hook.sh skipped."
fi