aboutsummaryrefslogtreecommitdiffstats
path: root/main/pdnsd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-08 00:11:29 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-08 00:11:29 +0100
commitf712f9a685c81c6f343320e676a2f0740bccff53 (patch)
treef39f84bdceead69dd20516a9c41ca2422abb7f79 /main/pdnsd
parent44879d0e90ac1374f1e8456a70f4c0ce5f6613a7 (diff)
downloadaports-f712f9a685c81c6f343320e676a2f0740bccff53.tar.bz2
aports-f712f9a685c81c6f343320e676a2f0740bccff53.tar.xz
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.
Diffstat (limited to 'main/pdnsd')
-rw-r--r--main/pdnsd/APKBUILD4
-rw-r--r--main/pdnsd/pdnsd.post-deinstall4
2 files changed, 2 insertions, 6 deletions
diff --git a/main/pdnsd/APKBUILD b/main/pdnsd/APKBUILD
index 6f1db86eb5..9cb0e80c1e 100644
--- a/main/pdnsd/APKBUILD
+++ b/main/pdnsd/APKBUILD
@@ -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"
diff --git a/main/pdnsd/pdnsd.post-deinstall b/main/pdnsd/pdnsd.post-deinstall
deleted file mode 100644
index f5cb9e80cb..0000000000
--- a/main/pdnsd/pdnsd.post-deinstall
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-deluser pdnsd 2>/dev/null
-exit 0