summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSchala2016-06-21 01:21:55 -0700
committerSchala2016-06-21 01:21:55 -0700
commit3b34a3c2d74366554cae418bbba63bd364190df3 (patch)
treee4a6e3c8c996b40e33fb97908025505ae23d355e
parent6280ac1331908ec38ebf5b61fe37a6df121d10df (diff)
downloadaur-3b34a3c2d74366554cae418bbba63bd364190df3.tar.gz
minor shell script fix
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore1
-rwxr-xr-xPKGBUILD4
-rwxr-xr-xspigot.sh2
4 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 442144f9ed0..55b48981b8c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jun 9 20:20:28 UTC 2016
+# Tue Jun 21 08:20:57 UTC 2016
pkgbase = spigot
pkgdesc = High performance Minecraft server implementation
pkgver = 1.10
- pkgrel = 2
+ pkgrel = 3
url = https://www.spigotmc.org/
install = spigot.install
arch = any
@@ -37,7 +37,7 @@ pkgbase = spigot
md5sums = 872d2e03799f1f8f0c75acdebce91894
md5sums = 1eb2d5f485cf9eff7a99c826ad56fcf4
md5sums = f04e0bcf8d771b0d1dc0206dc173d77a
- md5sums = 65ca43c8ed21347e6c98a7d0aac480f0
+ md5sums = d5253665976acd7206339a713b62f220
pkgname = spigot
diff --git a/.gitignore b/.gitignore
index ecb6293f20f..d3fd5dea22c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
pkg/
src/
*.jar
+*.tar
*.xz
diff --git a/PKGBUILD b/PKGBUILD
index 1a7cdbf2e92..e88b617a182 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
pkgname=spigot
pkgver=1.10
-pkgrel=2
+pkgrel=3
pkgdesc="High performance Minecraft server implementation"
arch=(any)
url="https://www.spigotmc.org/"
@@ -26,7 +26,7 @@ md5sums=('SKIP'
'872d2e03799f1f8f0c75acdebce91894'
'1eb2d5f485cf9eff7a99c826ad56fcf4'
'f04e0bcf8d771b0d1dc0206dc173d77a'
- '65ca43c8ed21347e6c98a7d0aac480f0')
+ 'd5253665976acd7206339a713b62f220')
_game="spigot"
_server_root="/srv/craftbukkit"
diff --git a/spigot.sh b/spigot.sh
index 9b0efc5468f..90a9fd56587 100755
--- a/spigot.sh
+++ b/spigot.sh
@@ -76,7 +76,7 @@ is_player_online() {
if [[ -z $(tail -n 1 "${LOGPATH}/latest.log" | sed -r -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' -e 's/.*\: //' | tr -d '\n') ]]; then
# No player is online
return 0;
- elif [[ $(tail -n 10 "${LOGPATH}/latest.log" | grep "There are" | sed -r -e '$!d' -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' -e 's/.*\: //' -e 's/^([^.]+).*$/\1/; s/^[^0-9]*([0-9]+).*$/\1/' | tr -d '\n') -gt 0 ]]; then
+ elif [[ $(tail -n 10 "${LOGPATH}/latest.log" | grep "There are" | sed -r -e '$!d' -e 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' -e 's/.*\: //' -e 's/^([^.]+).*$/\1/; s/^[^0-9]*([0-9]+).*$/\1/' | tr -d '\n') -eq 0 ]]; then
# No player is online
return 0;
else