aboutsummaryrefslogtreecommitdiffstats
path: root/testing/consul/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-16 13:15:55 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-16 13:15:55 +0200
commitef174d26e10f657ba2ac091239432f18a21ca6d2 (patch)
tree243dcc60a83061d339a95d6beeb2804754087f66 /testing/consul/APKBUILD
parentab936c4354b0354d5bd4788089eb7f7dd714b8a5 (diff)
downloadaports-ef174d26e10f657ba2ac091239432f18a21ca6d2.tar.bz2
aports-ef174d26e10f657ba2ac091239432f18a21ca6d2.tar.xz
testing/consul: remove {post,pre}-deinstall hooks
post-deinstall: - Removing user/group is not a good idea. You can't know if the consul user/group has been created by the package or not; user can use it even for something else. pre-deinstall: - User should decide h[ei]mself if (s)he wants to stop the service before uninstalling, it's his/her responsibility and it should not be handled automagically in pre-deinstall hook. - `&>` is not POSIX-sh compatible, it's a bashism.
Diffstat (limited to 'testing/consul/APKBUILD')
-rw-r--r--testing/consul/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/consul/APKBUILD b/testing/consul/APKBUILD
index 2638d44861..11f54888ba 100644
--- a/testing/consul/APKBUILD
+++ b/testing/consul/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer:
pkgname=consul
pkgver=0.7.0
-pkgrel=0
+pkgrel=1
pkgdesc="A tool for service discovery, monitoring and configuration"
url="https://www.consul.io/"
arch="all !aarch64"
license="MPL 2.0"
depends=""
makedepends="go"
-install="$pkgname.pre-install $pkgname.pre-deinstall $pkgname.post-deinstall"
+install="$pkgname.pre-install"
pkgusers="consul"
pkggroups="consul"
options="!strip"