aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-12-04 15:24:08 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-12-04 15:25:26 +0100
commit7805ec5ebaef620832a935b21d5547d373c4a4f0 (patch)
treeec9d46d36eccb9a1a1f7b1d3dacc467153f9c3c9
parentd651fe35b50262c3eccf503f92569431e9df8223 (diff)
downloadaports-7805ec5ebaef620832a935b21d5547d373c4a4f0.tar.bz2
aports-7805ec5ebaef620832a935b21d5547d373c4a4f0.tar.xz
main/umurmur: don't remove user/group after uninstall
-rw-r--r--main/umurmur/APKBUILD2
-rw-r--r--main/umurmur/umurmur.post-deinstall7
-rw-r--r--[-rwxr-xr-x]main/umurmur/umurmur.post-install0
3 files changed, 1 insertions, 8 deletions
diff --git a/main/umurmur/APKBUILD b/main/umurmur/APKBUILD
index 04fce71214..30adcc09a7 100644
--- a/main/umurmur/APKBUILD
+++ b/main/umurmur/APKBUILD
@@ -9,7 +9,7 @@ arch="all"
license="BSD"
depends=""
makedepends="libconfig-dev libressl-dev protobuf-c-dev autoconf automake"
-install="$pkgname.post-install $pkgname.post-deinstall"
+install="$pkgname.post-install"
subpackages="$pkgname-doc"
pkgusers="umurmur"
pkggroups="umurmur"
diff --git a/main/umurmur/umurmur.post-deinstall b/main/umurmur/umurmur.post-deinstall
deleted file mode 100644
index 9a4b18036d..0000000000
--- a/main/umurmur/umurmur.post-deinstall
+++ /dev/null
@@ -1,7 +0,0 @@
-if getent passwd umurmur >/dev/null 2>&1; then
- userdel umurmur
-fi
-
-if getent group umurmur >/dev/null 2>&1; then
- groupdel umurmur
-fi
diff --git a/main/umurmur/umurmur.post-install b/main/umurmur/umurmur.post-install
index adff9264e4..adff9264e4 100755..100644
--- a/main/umurmur/umurmur.post-install
+++ b/main/umurmur/umurmur.post-install