X-Git-Url: https://git.madduck.net/etc/ssh.git/blobdiff_plain/a323cc0801748c617bb0d0b2502b881a2bfab525..24a607df01c7658185d4c93d23c744f298c0e9f1:/.config/vcsh/hooks-available/ssh.post-run%20enter/etc/ssh.git/blobdiff_plain/a323cc0801748c617bb0d0b2502b881a2bfab525..24a607df01c7658185d4c93d23c744f298c0e9f1:/.config/vcsh/hooks-available/ssh.post-run+enter diff --git a/.config/vcsh/hooks-available/ssh.post-run+enter b/.config/vcsh/hooks-available/ssh.post-run+enter index 282a23f..2c8274a 100755 --- a/.config/vcsh/hooks-available/ssh.post-run+enter +++ b/.config/vcsh/hooks-available/ssh.post-run+enter @@ -1,2 +1,6 @@ #!/bin/sh -exec make -sC ~/.ssh + +cd ~/.ssh +git ls-files . | grep -q . || exit 0 +echo Triggering remake of SSH config… >&2 +exec make -s