summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2016-03-01 13:28:15 +0100
committerGordian Edenhofer2016-03-01 13:28:15 +0100
commite331e1e8c25c5fce0a01da2ba8ef9273484ac8f8 (patch)
tree7703ae439ba67f33aad79c1aa56b1e73e6bd0fd2
parentcc8b55b179fdda5e2b761c4f8c573cc77d664e68 (diff)
downloadaur-e331e1e8c25c5fce0a01da2ba8ef9273484ac8f8.tar.gz
Upgpkg: 1.9-1
Use server_root whenever possible. Add note to remove the /etc/conf.d/minecraft update-check oneday.
-rw-r--r--PKGBUILD4
-rw-r--r--minecraft-server.install2
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 327961bdb76..64b4402b4ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,8 +39,8 @@ package() {
install -Dm644 minecraftd.service "${pkgdir}/usr/lib/systemd/system/${_game}d.service"
install -Dm644 minecraftd-backup.service "${pkgdir}/usr/lib/systemd/system/${_game}d-backup.service"
install -Dm644 minecraftd-backup.timer "${pkgdir}/usr/lib/systemd/system/${_game}d-backup.timer"
- install -Dm644 minecraft_server.${pkgver}.jar "${pkgdir}/srv/minecraft/minecraft_server.${pkgver}.jar"
- ln -s "minecraft_server.${pkgver}.jar" "${pkgdir}/srv/minecraft/minecraft_server.jar"
+ install -Dm644 minecraft_server.${pkgver}.jar "${pkgdir}${_server_root}/minecraft_server.${pkgver}.jar"
+ ln -s "minecraft_server.${pkgver}.jar" "${pkgdir}${_server_root}/minecraft_server.jar"
# Link the log files
mkdir -p "${pkgdir}/var/log/"
diff --git a/minecraft-server.install b/minecraft-server.install
index f420f552855..fc42dcdea31 100644
--- a/minecraft-server.install
+++ b/minecraft-server.install
@@ -28,7 +28,7 @@ post_install() {
post_upgrade() {
chown -R ${_user}:${_user} "${_server_root}"
- if [[ -f /etc/conf.d/${_game}.pacnew ]]; then
+ if [[ -f /etc/conf.d/${_game}.pacnew ]]; then # TODO: remove oneday
echo -e "\e[34;1m==>\e[39;1m NOTE: There was a new change on how backup files are handled! Unfortunately this makes \e[0m"
echo -e "\e[34;1m==>\e[39;1m old backups incompatible with the newly implemeted restore feature. Bare in mind that no data is lost \e[0m"
echo -e "\e[34;1m==>\e[39;1m neither are those backups useless. They just will not work with the restore capability of the management script. \e[0m"