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

View File

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

View File

@ -117,10 +117,10 @@ backup_files() {
mc_command save-off
mc_command save-all
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
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
echo -e "\e[39;1mbackup completed\e[0m\n"