Upgpkg: 1.8.9-4

Fix bug which prevented users from taking backups of multiple
worlds. It occured due to an out-of-place quotation of a variable.
This commit is contained in:
Gordian Edenhofer 2016-02-01 21:01:49 +01:00
parent 6c008ee185
commit 79570a0604
3 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Sat Jan 30 12:07:37 UTC 2016 # Mon Feb 1 20:01:56 UTC 2016
pkgbase = minecraft-server pkgbase = minecraft-server
pkgdesc = Minecraft server unit files, script, and jar pkgdesc = Minecraft server unit files, script, and jar
pkgver = 1.8.9 pkgver = 1.8.9
pkgrel = 3 pkgrel = 4
url = http://minecraft.net/ url = http://minecraft.net/
install = minecraft-server.install install = minecraft-server.install
arch = any arch = any
@ -29,7 +29,7 @@ pkgbase = minecraft-server
md5sums = fef6fadd0739ae03ff71ba61025be207 md5sums = fef6fadd0739ae03ff71ba61025be207
md5sums = 5ed78e366146e47f8498347e93ad5423 md5sums = 5ed78e366146e47f8498347e93ad5423
md5sums = 9f56e2a4f435e642a0b183c6bff5c206 md5sums = 9f56e2a4f435e642a0b183c6bff5c206
md5sums = b10ce9918eefba8b5966e971d5ea4775 md5sums = dcf4f4b4de06c6ff3b5445539c4e3d42
pkgname = minecraft-server pkgname = minecraft-server

View File

@ -3,7 +3,7 @@
pkgname=minecraft-server pkgname=minecraft-server
pkgver=1.8.9 pkgver=1.8.9
pkgrel=3 pkgrel=4
pkgdesc="Minecraft server unit files, script, and jar" pkgdesc="Minecraft server unit files, script, and jar"
arch=('any') arch=('any')
url="http://minecraft.net/" url="http://minecraft.net/"

View File

@ -117,10 +117,10 @@ backup_files() {
mc_command save-off mc_command save-off
mc_command save-all mc_command save-all
sync && wait sync && wait
${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals "${WORLDPATHS}" 2>&1 | grep -v "tar: Removing leading " ${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals ${WORLDPATHS} 2>&1 | grep -v "tar: Removing leading "
mc_command save-on mc_command save-on
else else
${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals "${WORLDPATHS}" 2>&1 | grep -v "tar: Removing leading " ${SUDO_CMD} tar -C "${SERVER_ROOT}" -czf "${BACKUPPATH}/${FILE}" --totals ${WORLDPATHS} 2>&1 | grep -v "tar: Removing leading "
fi fi
echo -e "\e[39;1mbackup completed\e[0m\n" echo -e "\e[39;1mbackup completed\e[0m\n"