summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2016-06-24 20:03:08 +0200
committerGordian Edenhofer2016-06-24 20:03:08 +0200
commit271794e3ac91683aaac65be79a637ebc1c00f6d7 (patch)
treed89213465cd8aa5bf7251f6c93d51cfec2537be2
parentde963801f56601d7b0e050332404c5513ac3bbe1 (diff)
downloadaur-271794e3ac91683aaac65be79a637ebc1c00f6d7.tar.gz
upgpkg: minecraft-server 1.10.2-3
Create log dir with mode 2755 instead of 775. Remove .install notice about obsolete backups.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--minecraft-server.install7
3 files changed, 3 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5a2ee70b68..df5745225b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = minecraft-server
pkgdesc = Minecraft server unit files, script, and jar
pkgver = 1.10.2
- pkgrel = 2
+ pkgrel = 3
url = http://minecraft.net/
install = minecraft-server.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 368288ef579..d2281aac4e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=minecraft-server
pkgver=1.10.2
-pkgrel=2
+pkgrel=3
pkgdesc="Minecraft server unit files, script, and jar"
arch=('any')
url="http://minecraft.net/"
@@ -43,7 +43,7 @@ package() {
# Link the log files
mkdir -p "${pkgdir}/var/log/"
- install -dm775 "${pkgdir}/${_server_root}/logs"
+ install -dm2755 "${pkgdir}/${_server_root}/logs"
ln -s "${_server_root}/logs" "${pkgdir}/var/log/${_game}"
# Give the group write permissions and set user or group ID on execution
diff --git a/minecraft-server.install b/minecraft-server.install
index fc42dcdea31..e647b98633a 100644
--- a/minecraft-server.install
+++ b/minecraft-server.install
@@ -27,13 +27,6 @@ post_install() {
post_upgrade() {
chown -R ${_user}:${_user} "${_server_root}"
-
- 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"
- echo -e "\e[34;1m==>\e[39;1m NOTE: Please merge the new configuration file into /etc/conf.d/${_game} by e.g. using pacdiff. \e[0m"
- fi
}
pre_remove() {