Add hook.sh

This commit is contained in:
Stephan Raabe
2023-12-07 21:32:32 +01:00
parent 140dc369ed
commit 38106f68d4
8 changed files with 133 additions and 31 deletions

View File

@@ -33,5 +33,8 @@ if [[ $(_isFolderEmpty ~/dotfiles-versions/$version/) == 0 ]] ;then
echo "Execution of rsync -a -I --exclude-from=.install/excludes.txt . ~/dotfiles-versions/$version/ is required."
exit
fi
if [ ! -f ~/dotfiles-versions/hook.sh ]; then
# cp .install/templates/hook.sh ~/dotfiles-versions/
fi
echo "dotfiles $version successfully prepared in ~/dotfiles-versions/$version/"
echo ""