main/pdnsd: 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.
This commit is contained in:
Jakub Jirutka 2017-03-08 00:11:29 +01:00
parent 44879d0e90
commit f712f9a685
2 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
pkgname=pdnsd
pkgver=1.2.9a
_realver=$pkgver-par
pkgrel=4
pkgrel=5
pkgdesc="A proxy DNS server with permanent caching"
url="http://members.home.nl/p.a.rombouts/pdnsd/"
arch="all"
@ -11,7 +11,7 @@ license="GPL"
depends=
depends_dev=
makedepends="$depends_dev linux-headers"
install="$pkgname.pre-install $pkgname.post-deinstall"
install="$pkgname.pre-install"
subpackages="$pkgname-doc"
pkgusers="pdnsd"
pkggroups="pdnsd"

View File

@ -1,4 +0,0 @@
#!/bin/sh
deluser pdnsd 2>/dev/null
exit 0