upgpkg: minecraft-server 1.10.2-3
Create log dir with mode 2755 instead of 775. Remove .install notice about obsolete backups.
This commit is contained in:
parent
de963801f5
commit
271794e3ac
2
.SRCINFO
2
.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
|
||||
|
|
4
PKGBUILD
4
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
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user