line up the lines in the update scripts so they're a little easier to compare side-by-side

This commit is contained in:
hankhill19580
2020-09-12 03:52:22 +00:00
parent 1253f14d9b
commit 5386074c1b

View File

@ -9,8 +9,8 @@ TMP=$(mktemp XXXXXXXXXX)
trap 'rm -f $TMP;exit' 0 1 2 15
if [ -d ./.git ]; then
#$MTN pull -k "" "mtn://$MTNURL?$MTNBRANCH"
git pull origin master 2>&1 | tee $TMP
if grep "i2p2www/translations/" "$TMP" >/dev/null ; then
echo "Translations updated, compiling messages"
./compile-messages.sh
@ -22,7 +22,9 @@ if [ -d ./.git ]; then
echo "Python files changed, restarting server"
touch $TOUCHFILE
fi
else
$MTN pull -k "" "mtn://$MTNURL?$MTNBRANCH"
$MTN up 2>&1 | tee $TMP
if grep "^mtn: \(add\|patch\|dropp\|updat\)\(ed\|ing\) 'i2p2www/translations/" "$TMP" >/dev/null ; then