explicit mtn pull then mtn up

This commit is contained in:
kytv
2013-10-01 11:51:00 +00:00
parent 49eb47b5b1
commit 5c6855b7c4
2 changed files with 5 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
TMP=$(mktemp XXXXXXXXXX)
trap 'rm -f $TMP;exit' 0 1 2 15
mtn pull
mtn update 2>&1 | tee $TMP
if grep "^mtn: \(add\|dropp\|updat\)ing 'i2p2www/translations/" "$TMP" >/dev/null; then