# m h dom mon dow command
#MAILTO=""
MAILTO=93sam@debian.org
-01 04 * * * if [ ! -d strace-test ] ; then git -c http.sslcainfo=/etc/ssl/ca-global/ca-certificates.crt clone https://git.einval.com/git/strace-test.git; fi; ./strace-test/wrapper
+01 04 * * * if [ ! -d strace-test ]; then CAI=/etc/ssl/certs/; if [ -d /etc/ssl/ca-global ]; then CAI=/etc/ssl/ca-global; fi ; rm -f /home/93sam/.CA; ln -sf $CAI /home/93sam/.CA; git -c http.sslcainfo=/home/93sam/.CA/ca-certificates.crt clone https://git.einval.com/git/strace-test.git; fi; ./strace-test/wrapper
# Set up git variables cleanly, and pull
git config --unset http.sslcainfo
-git config --add http.sslcainfo /etc/ssl/ca-global/ca-certificates.crt
+git config --add http.sslcainfo /home/93sam/.CA
git pull -q
# Make sure the crontab is updated