bs-git: scripte aktualisiert
This commit is contained in:
parent
07b122656b
commit
7c61c43ca0
@ -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
|
7
aufgabe4/cron.daily/git-log-rotate
Executable file
7
aufgabe4/cron.daily/git-log-rotate
Executable 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
|
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user