forked from I2P_Developers/i2p.www
Compile translations on adding and dropping
This commit is contained in:
@@ -3,7 +3,7 @@ TMP=tmp
|
|||||||
|
|
||||||
mtn update 2>&1 | tee $TMP
|
mtn update 2>&1 | tee $TMP
|
||||||
|
|
||||||
cat $TMP | grep "^mtn: updating 'i2p2www/translations/" >/dev/null
|
cat $TMP | grep "^mtn: adding 'i2p2www/translations/\|^mtn: dropping 'i2p2www/translations/\|^mtn: updating 'i2p2www/translations/" >/dev/null
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Translations updated, compiling messages"
|
echo "Translations updated, compiling messages"
|
||||||
./compile-messages.sh
|
./compile-messages.sh
|
||||||
|
Reference in New Issue
Block a user