diff --git a/compile-messages.sh b/compile-messages.sh index 8dddd6e3..f3f2eb3a 100755 --- a/compile-messages.sh +++ b/compile-messages.sh @@ -11,3 +11,4 @@ else $PYBABEL compile -D $domain -d $TRANSDIR done fi +touch ./.pybabel-stamp diff --git a/site-updater.sh b/site-updater.sh index b47aec58..901ad896 100755 --- a/site-updater.sh +++ b/site-updater.sh @@ -21,3 +21,5 @@ if grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" "$TM echo "Python files changed, restarting server" touch $TOUCHFILE fi + +[ -f ./.pybabel-stamp ] || ./compile-messages.sh