From 6d5dd87fc222126e62fef79e70621fbbe2b22c3b Mon Sep 17 00:00:00 2001 From: Gordian Edenhofer Date: Tue, 9 Aug 2016 11:56:49 +0200 Subject: [PATCH] upgpkg: minecraft-server 1.10.2-3 Treat IDLE_SERVER varible case insensitive when comparing to "true". upgpkg: cuberite 1.9.4-5 upgpkg: spigot 1.10.2-1 --- .SRCINFO | 2 +- PKGBUILD | 2 +- minecraftd.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9138582..d80a352 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -29,6 +29,6 @@ pkgbase = minecraft-server md5sums = fef6fadd0739ae03ff71ba61025be207 md5sums = afb84ad0316af0aca421b36eaa2bbd90 md5sums = 025712e71efa4e21f625bddff28a2f15 - md5sums = 1d7efd1c778c7866dcfe9628df847e58 + md5sums = 3cba3f02ad59b7d0df3df561409d7d1a pkgname = minecraft-server diff --git a/PKGBUILD b/PKGBUILD index 589695a..ae738eb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -27,7 +27,7 @@ md5sums=('41c4e081defd80b09cb0391c894c2f3c' 'fef6fadd0739ae03ff71ba61025be207' 'afb84ad0316af0aca421b36eaa2bbd90' '025712e71efa4e21f625bddff28a2f15' - '1d7efd1c778c7866dcfe9628df847e58') + '3cba3f02ad59b7d0df3df561409d7d1a') _game="minecraft" _server_root="/srv/minecraft" diff --git a/minecraftd.sh b/minecraftd.sh index 440da2c..a9cdeb5 100755 --- a/minecraftd.sh +++ b/minecraftd.sh @@ -167,7 +167,7 @@ server_start() { echo -e "\e[39;1m done\e[0m" fi - if [[ "${IDLE_SERVER}" == "true" ]]; then + if [[ "${IDLE_SERVER,,}" == "true" ]]; then # Check for the availability of the netcat (nc) binaries if [[ -z "${NETCAT_CMD}" ]]; then >&2 echo "The netcat binaries are needed for suspending an idle server." @@ -196,7 +196,7 @@ server_start() { # Stop the server gracefully by saving everything prior and warning the users server_stop() { # Quit the idle daemon - if [[ "${IDLE_SERVER}" == "true" ]]; then + if [[ "${IDLE_SERVER,,}" == "true" ]]; then # Check for the availability of the netcat (nc) binaries if [[ -z "${NETCAT_CMD}" ]]; then >&2 echo "The netcat binaries are needed for suspending an idle server." @@ -252,7 +252,7 @@ server_stop() { # Print whether the server is running and if so give some information about memory usage and threads server_status() { # Print status information about the idle daemon - if [[ "${IDLE_SERVER}" == "true" ]]; then + if [[ "${IDLE_SERVER,,}" == "true" ]]; then # Check for the availability of the netcat (nc) binaries if [[ -z "${NETCAT_CMD}" ]]; then >&2 echo "The netcat binaries are needed for suspending an idle server."