forked from I2P_Developers/i2p.www
explicit mtn pull then mtn up
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
TMP=$(mktemp XXXXXXXXXX)
|
TMP=$(mktemp XXXXXXXXXX)
|
||||||
trap 'rm -f $TMP;exit' 0 1 2 15
|
trap 'rm -f $TMP;exit' 0 1 2 15
|
||||||
|
|
||||||
|
mtn pull
|
||||||
mtn update 2>&1 | tee $TMP
|
mtn update 2>&1 | tee $TMP
|
||||||
|
|
||||||
if grep "^mtn: \(add\|dropp\|updat\)ing 'i2p2www/translations/" "$TMP" >/dev/null; then
|
if grep "^mtn: \(add\|dropp\|updat\)ing 'i2p2www/translations/" "$TMP" >/dev/null; then
|
||||||
|
@@ -2,9 +2,11 @@
|
|||||||
TMP=$(mktemp XXXXXXXXXX)
|
TMP=$(mktemp XXXXXXXXXX)
|
||||||
trap 'rm -f $TMP;exit' 0 1 2 15
|
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"
|
echo "Translations updated, compiling messages"
|
||||||
./compile-messages.sh
|
./compile-messages.sh
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user