I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5c6855b7 authored by kytv's avatar kytv
Browse files

explicit mtn pull then mtn up

parent 49eb47b5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -2,9 +2,11 @@
TMP=$(mktemp XXXXXXXXXX)
trap 'rm -f $TMP;exit' 0 1 2 15
mtn update 2>&1 | tee $TMP
mtn pull
mtn up 2>&1 | tee $TMP
if grep "^mtn: \(add\|dropp\|updat\)ing 'i2p2www/translations/" "$TMP" >/dev/null ; then
if grep "^mtn: \(add\|patch\|dropp\|updat\)\(ed\|ing\) 'i2p2www/translations/" "$TMP" >/dev/null ; then
echo "Translations updated, compiling messages"
./compile-messages.sh
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment