5 export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
7 cd ~/xonotic/data/xonotic-data.pk3dir
9 git fetch origin master
10 if git rev-list origin/master..master | grep .; then
11 echo "Blocked by local changes. Bailing out."
14 git reset --hard origin/master
17 # po: just update the translations.
18 # all: also update the translation template. Will create a new commit every time, as the date header changes.
21 if [ x"`git ls-files -dm`" = x".tx/merge-base" ]; then
25 git commit -a -m'Transifex autosync'
26 git push origin master