From eb6f68d79c07514517ef68f511476c4aff8920e9 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Wed, 24 Feb 2016 14:53:05 -0500 Subject: [PATCH] end with newlines --- chunkymap-players-cronjob.sh | 4 +++- chunkymap-regen-players.bat | 4 +++- chunkymap-regen-players.sh | 3 ++- chunkymap-regen.py | 2 ++ chunkymap-regen.sh | 4 +++- install-chunkymap-on-ubuntu.sh | 3 +++ set-minutely-crontab-job.sh | 3 ++- set-minutely-players-crontab-job.sh | 5 ++++- web/example.php | 1 + 9 files changed, 23 insertions(+), 6 deletions(-) diff --git a/chunkymap-players-cronjob.sh b/chunkymap-players-cronjob.sh index f593511..8edb50e 100644 --- a/chunkymap-players-cronjob.sh +++ b/chunkymap-players-cronjob.sh @@ -6,4 +6,6 @@ #MT_PLAYERS_ACTIVE_COUNT=$(find /var/www/html/minetest/chunkymapdata/players -type f -mmin -1 | wc -l) #if[ $MT_PLAYERS_ACTIVE_COUNT -gt 0 ]; then flock -n /var/run/chunkymap-regen.lockfile -c /home/owner/minetest/util/chunkymap-regen-players.sh -#fi \ No newline at end of file +#fi + + diff --git a/chunkymap-regen-players.bat b/chunkymap-regen-players.bat index a1e054e..7c515af 100644 --- a/chunkymap-regen-players.bat +++ b/chunkymap-regen-players.bat @@ -1,3 +1,5 @@ C:\Python27\python.exe chunkymap-regen.py --skip-map=true REM C:\Python27\python.exe chunkymap-regen.py --skip-players=true --skip-map=true -pause \ No newline at end of file +pause + + diff --git a/chunkymap-regen-players.sh b/chunkymap-regen-players.sh index 8fabcbb..8ddff81 100644 --- a/chunkymap-regen-players.sh +++ b/chunkymap-regen-players.sh @@ -1,3 +1,4 @@ #!/bin/sh # NOTE: only works since all scripts in /etc/cron.*/ or crontab run as root -python /home/owner/minetest/util/chunkymap-regen.py --skip-map=true \ No newline at end of file +python /home/owner/minetest/util/chunkymap-regen.py --skip-map=true + diff --git a/chunkymap-regen.py b/chunkymap-regen.py index 6f3bacb..684291a 100644 --- a/chunkymap-regen.py +++ b/chunkymap-regen.py @@ -856,3 +856,5 @@ if __name__ == '__main__': #input("press enter to exit...") mtchunks.run() + + diff --git a/chunkymap-regen.sh b/chunkymap-regen.sh index 142a138..6eb1921 100644 --- a/chunkymap-regen.sh +++ b/chunkymap-regen.sh @@ -1,3 +1,5 @@ #!/bin/sh # NOTE: only works since all scripts in /etc/cron.*/ or crontab run as root -python /home/owner/minetest/util/chunkymap-regen.py \ No newline at end of file +python /home/owner/minetest/util/chunkymap-regen.py + + diff --git a/install-chunkymap-on-ubuntu.sh b/install-chunkymap-on-ubuntu.sh index e7966f3..2cabbc8 100644 --- a/install-chunkymap-on-ubuntu.sh +++ b/install-chunkymap-on-ubuntu.sh @@ -39,3 +39,6 @@ echo "To learn about chunkymap:" echo "cd $CHUNKYMAP_DEST" echo "" # NOTE: colors.txt should ALREADY be in $HOME/minetest/util + + + diff --git a/set-minutely-crontab-job.sh b/set-minutely-crontab-job.sh index bd49511..7681523 100644 --- a/set-minutely-crontab-job.sh +++ b/set-minutely-crontab-job.sh @@ -13,4 +13,5 @@ fi crontab -l > "$MT_CHUNKYMAP_CRON_TMP" echo "* * * * * root /home/owner/minetest/util/chunkymap-cronjob" >> "$MT_CHUNKYMAP_CRON_TMP" crontab "$MT_CHUNKYMAP_CRON_TMP" -rm "$MT_CHUNKYMAP_CRON_TMP" \ No newline at end of file +rm "$MT_CHUNKYMAP_CRON_TMP" + diff --git a/set-minutely-players-crontab-job.sh b/set-minutely-players-crontab-job.sh index cd46637..97a8c32 100644 --- a/set-minutely-players-crontab-job.sh +++ b/set-minutely-players-crontab-job.sh @@ -13,4 +13,7 @@ fi crontab -l > "$MT_CHUNKYMAP_CRON_TMP" echo "* * * * * root /home/owner/minetest/util/chunkymap-players-cronjob" >> "$MT_CHUNKYMAP_CRON_TMP" crontab "$MT_CHUNKYMAP_CRON_TMP" -rm "$MT_CHUNKYMAP_CRON_TMP" \ No newline at end of file +rm "$MT_CHUNKYMAP_CRON_TMP" + + + diff --git a/web/example.php b/web/example.php index 966d75e..a0989be 100644 --- a/web/example.php +++ b/web/example.php @@ -37,3 +37,4 @@ else {
Powered by Chunkymap
+