1 2 3 4 5 6 7
#!/bin/sh set -e if [ -d .git ]; then if ! git add .; then echo "etckeeper warning: git add failed" >&2 fi fi