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

Skip to content
Snippets Groups Projects
Commit 5386074c authored by idk's avatar idk
Browse files

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

parent 1253f14d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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