Initial commit

This commit is contained in:
ariane
2021-03-18 15:42:28 +00:00
committed by root
commit e53cb04f1a
973 changed files with 23055 additions and 0 deletions

14
etckeeper/commit.d/99push Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ -n "$PUSH_REMOTE" ]; then
if [ "$VCS" = git ] && [ -d .git ]; then
for REMOTE in $PUSH_REMOTE; do
git push "$REMOTE" || true
done
elif [ "$VCS" = hg ] && [ -d .hg ]; then
for REMOTE in $PUSH_REMOTE; do
hg push "$REMOTE" || true
done
else
echo "PUSH_REMOTE not yet supported for $VCS" >&2
fi
fi