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
This commit is contained in:
parent
82a539adb8
commit
6d5dd87fc2
2
.SRCINFO
2
.SRCINFO
|
@ -29,6 +29,6 @@ pkgbase = minecraft-server
|
||||||
md5sums = fef6fadd0739ae03ff71ba61025be207
|
md5sums = fef6fadd0739ae03ff71ba61025be207
|
||||||
md5sums = afb84ad0316af0aca421b36eaa2bbd90
|
md5sums = afb84ad0316af0aca421b36eaa2bbd90
|
||||||
md5sums = 025712e71efa4e21f625bddff28a2f15
|
md5sums = 025712e71efa4e21f625bddff28a2f15
|
||||||
md5sums = 1d7efd1c778c7866dcfe9628df847e58
|
md5sums = 3cba3f02ad59b7d0df3df561409d7d1a
|
||||||
|
|
||||||
pkgname = minecraft-server
|
pkgname = minecraft-server
|
||||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -27,7 +27,7 @@ md5sums=('41c4e081defd80b09cb0391c894c2f3c'
|
||||||
'fef6fadd0739ae03ff71ba61025be207'
|
'fef6fadd0739ae03ff71ba61025be207'
|
||||||
'afb84ad0316af0aca421b36eaa2bbd90'
|
'afb84ad0316af0aca421b36eaa2bbd90'
|
||||||
'025712e71efa4e21f625bddff28a2f15'
|
'025712e71efa4e21f625bddff28a2f15'
|
||||||
'1d7efd1c778c7866dcfe9628df847e58')
|
'3cba3f02ad59b7d0df3df561409d7d1a')
|
||||||
|
|
||||||
_game="minecraft"
|
_game="minecraft"
|
||||||
_server_root="/srv/minecraft"
|
_server_root="/srv/minecraft"
|
||||||
|
|
|
@ -167,7 +167,7 @@ server_start() {
|
||||||
echo -e "\e[39;1m done\e[0m"
|
echo -e "\e[39;1m done\e[0m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${IDLE_SERVER}" == "true" ]]; then
|
if [[ "${IDLE_SERVER,,}" == "true" ]]; then
|
||||||
# Check for the availability of the netcat (nc) binaries
|
# Check for the availability of the netcat (nc) binaries
|
||||||
if [[ -z "${NETCAT_CMD}" ]]; then
|
if [[ -z "${NETCAT_CMD}" ]]; then
|
||||||
>&2 echo "The netcat binaries are needed for suspending an idle server."
|
>&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
|
# Stop the server gracefully by saving everything prior and warning the users
|
||||||
server_stop() {
|
server_stop() {
|
||||||
# Quit the idle daemon
|
# Quit the idle daemon
|
||||||
if [[ "${IDLE_SERVER}" == "true" ]]; then
|
if [[ "${IDLE_SERVER,,}" == "true" ]]; then
|
||||||
# Check for the availability of the netcat (nc) binaries
|
# Check for the availability of the netcat (nc) binaries
|
||||||
if [[ -z "${NETCAT_CMD}" ]]; then
|
if [[ -z "${NETCAT_CMD}" ]]; then
|
||||||
>&2 echo "The netcat binaries are needed for suspending an idle server."
|
>&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
|
# Print whether the server is running and if so give some information about memory usage and threads
|
||||||
server_status() {
|
server_status() {
|
||||||
# Print status information about the idle daemon
|
# 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
|
# Check for the availability of the netcat (nc) binaries
|
||||||
if [[ -z "${NETCAT_CMD}" ]]; then
|
if [[ -z "${NETCAT_CMD}" ]]; then
|
||||||
>&2 echo "The netcat binaries are needed for suspending an idle server."
|
>&2 echo "The netcat binaries are needed for suspending an idle server."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user