From 500dd6a2fc94f556600a6c1fa6831219056fb7af Mon Sep 17 00:00:00 2001 From: Gordian Edenhofer Date: Fri, 29 Mar 2019 12:32:26 +0100 Subject: [PATCH] upgpkg: minecraft-server 1.13.2-4 Fix search-and-replace mistakes made in commit b382febaf5. upgpkg: cuberite 1.12b1014-2 upgpkg: spigot 1.13.2+b93-2 --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- minecraftd.sh | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 31c6ef5..8ab0fe2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = minecraft-server pkgdesc = Minecraft server unit files, script, and jar pkgver = 1.13.2 - pkgrel = 3 + pkgrel = 4 url = https://minecraft.net/ install = minecraft-server.install arch = any @@ -29,6 +29,6 @@ pkgbase = minecraft-server sha512sums = 19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418 sha512sums = 5203f6331f740ecfcea2a2cc653603ae97419baa89e08512f9d8feb63e4a52978442a69b313eccd9037b676a62ab528e2b533c0fb95a9c7177318279fe0cde79 sha512sums = 73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67 - sha512sums = ae63eeab451637b924762a6887c47d7bdffecacae61ea6e1fe1a280da2eb10ea3cc6dd1fbf2a1c395be97ec56ee67da795445c167d1cdb85664e3e0e3871d607 + sha512sums = 9e806e35c207c96714f53a360e2d493f665867126398c2f12486b6f9d2b2db98c883e19aade703e18c31696e05808847762e494f743db7802127f415a00ba3bc pkgname = minecraft-server diff --git a/PKGBUILD b/PKGBUILD index 00e3909..8d2b49a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=minecraft-server pkgver=1.13.2 _nonce=3737db93722a9e39eeada7c27e7aca28b144ffa7 -pkgrel=3 +pkgrel=4 pkgdesc="Minecraft server unit files, script, and jar" arch=('any') url="https://minecraft.net/" @@ -28,7 +28,7 @@ sha512sums=('c9a98f1d224519369d6c4882cfe93a94983661c0c0b8a7f0b2f271af752fde56930 '19ee3646bfbace353b65c0373594edb654de11c9671f29cebad3b31109f29f94ade1d529d9f409b0989c376bef9b451585b22a1e0ac4295fcc92d9565f808418' '5203f6331f740ecfcea2a2cc653603ae97419baa89e08512f9d8feb63e4a52978442a69b313eccd9037b676a62ab528e2b533c0fb95a9c7177318279fe0cde79' '73132ec613e05c8ed7ebe4eda2395f1ea0733ffe94ba7e203e06246d5852139bbfb7a9073b2b01891282339a2f85676699cd889cde79d6317066e27fd65b1d67' - 'ae63eeab451637b924762a6887c47d7bdffecacae61ea6e1fe1a280da2eb10ea3cc6dd1fbf2a1c395be97ec56ee67da795445c167d1cdb85664e3e0e3871d607') + '9e806e35c207c96714f53a360e2d493f665867126398c2f12486b6f9d2b2db98c883e19aade703e18c31696e05808847762e494f743db7802127f415a00ba3bc') _game="minecraft" _server_root="/srv/minecraft" diff --git a/minecraftd.sh b/minecraftd.sh index 3563ce7..0dca66f 100755 --- a/minecraftd.sh +++ b/minecraftd.sh @@ -50,9 +50,9 @@ else fi # Choose which flavor of netcat is to be used -if command -vnetcat &> /dev/null; then +if command -v netcat &> /dev/null; then NETCAT_CMD="netcat" -elif command -vncat &> /dev/null; then +elif command -v ncat &> /dev/null; then NETCAT_CMD="ncat" else NETCAT_CMD="" @@ -295,7 +295,7 @@ server_restart() { # Backup the directories specified in BACKUP_PATHS backup_files() { # Check for the availability of the tar binaries - if ! command -vtar &> /dev/null; then + if ! command -v tar &> /dev/null; then >&2 echo "The tar binaries are needed for a backup." exit 11 fi @@ -329,7 +329,7 @@ backup_files() { # Restore backup backup_restore() { # Check for the availability of the tar binaries - if ! command -vtar &> /dev/null; then + if ! command -v tar &> /dev/null; then >&2 echo "The tar binaries are needed for a backup." exit 11 fi