X-Git-Url: https://git.madduck.net/etc/crontab.git/blobdiff_plain/a9efedbd8723e3e62fe3118b806aad5d45c26eec..4642a87017c84108a10dec13bf43127057cbcd3b:/.config/vcsh/hooks-available/crontab.post-run%20enter/etc/crontab.git/blobdiff_plain/a9efedbd8723e3e62fe3118b806aad5d45c26eec..4642a87017c84108a10dec13bf43127057cbcd3b:/.config/vcsh/hooks-available/crontab.post-run+enter diff --git a/.config/vcsh/hooks-available/crontab.post-run+enter b/.config/vcsh/hooks-available/crontab.post-run+enter index 48da5e1..29285c4 100755 --- a/.config/vcsh/hooks-available/crontab.post-run+enter +++ b/.config/vcsh/hooks-available/crontab.post-run+enter @@ -1,2 +1,6 @@ #!/bin/sh -exec make -sC ~/.crontab.d + +cd ~/.crontab.d +git ls-files . | grep -q . || exit 0 +echo Triggering remake of user crontab… >&2 +exec make -s