Commit 44879d0e authored by Jakub Jirutka's avatar Jakub Jirutka

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.
parent 7b55d5a6
......@@ -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"
......
#!/bin/sh
deluser nsd 2>/dev/null
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment