diff --git a/site-updater-i2hq.sh b/site-updater-i2hq.sh index 51b9357e..b12c2d23 100755 --- a/site-updater-i2hq.sh +++ b/site-updater-i2hq.sh @@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then ./compile-messages-i2hq.sh fi -cat $TMP | grep "^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null +cat $TMP | grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null if [ $? -eq 0 ]; then echo "Python files changed, restarting server" touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa diff --git a/site-updater.sh b/site-updater.sh index 63851662..d5366eaf 100755 --- a/site-updater.sh +++ b/site-updater.sh @@ -9,7 +9,7 @@ if [ $? -eq 0 ]; then ./compile-messages.sh fi -cat $TMP | grep "^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null +cat $TMP | grep "^mtn: updating 'i2p2www/.*\.py\|^mtn: updating 'i2p2www/.*/.*\.py" >/dev/null if [ $? -eq 0 ]; then echo "Python files changed, restarting server" touch /tmp/2fcd2f17-c293-4f77-b4c9-9b266ba70daa