aboutsummaryrefslogtreecommitdiffstats
path: root/main/nsd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-08 00:09:22 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-08 00:10:36 +0100
commit44879d0e90ac1374f1e8456a70f4c0ce5f6613a7 (patch)
tree289d8bd536793b245beec2a7739d0950c5b889cc /main/nsd
parent7b55d5a64c232494128e1f474de5230d84e9e92b (diff)
downloadaports-44879d0e90ac1374f1e8456a70f4c0ce5f6613a7.tar.bz2
aports-44879d0e90ac1374f1e8456a70f4c0ce5f6613a7.tar.xz
main/nsd: do not deluser in post-deinstall
This is very bad practice, we can't know if the package user has been originally created by apk or by the user and if the user needs it or not.
Diffstat (limited to 'main/nsd')
-rw-r--r--main/nsd/APKBUILD4
-rw-r--r--main/nsd/nsd.post-deinstall4
2 files changed, 2 insertions, 6 deletions
diff --git a/main/nsd/APKBUILD b/main/nsd/APKBUILD
index 5a2dcf33e4..0b575305e6 100644
--- a/main/nsd/APKBUILD
+++ b/main/nsd/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nsd
pkgver=4.1.15
-pkgrel=0
+pkgrel=1
pkgdesc="NSD is an authoritative only, high performance, simple and open source name server."
url="http://www.nlnetlabs.nl/projects/nsd/"
arch="all"
@@ -12,7 +12,7 @@ license="BSD"
depends=""
depends_dev=
makedepends="$depends_dev libressl-dev libevent-dev"
-install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-deinstall"
+install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="$pkgname-doc $pkgname-dbg"
pkgusers="nsd"
pkggroups="nsd"
diff --git a/main/nsd/nsd.post-deinstall b/main/nsd/nsd.post-deinstall
deleted file mode 100644
index 4d5fc40932..0000000000
--- a/main/nsd/nsd.post-deinstall
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-deluser nsd 2>/dev/null
-exit 0