bs-git: scripte aktualisiert

This commit is contained in:
Jörg Thalheim 2013-11-03 13:16:31 +01:00
parent 07b122656b
commit 7c61c43ca0
4 changed files with 8 additions and 12 deletions

View File

@ -1,6 +0,0 @@
#!/bin/bash
GIT_HOME=/var/log
find /var/log -iname \*.log | xargs git add
git commit -m "daily autocommit"
git push --force origin master:logs

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -e
cd /var/log
find . -iname \*.log | xargs git add
git commit --all --message "daily autocommit"
git push --force origin master:logs

View File

@ -1,10 +1,5 @@
#!/bin/bash
if [[ "$1" != -S && "$1" != -S*u && "$1" != -U ]]; then
/usr/bin/yaourt "$@"
exit $?
fi
sudo etckeeper pre-install
/usr/bin/yaourt "$@"