aboutsummaryrefslogtreecommitdiffstats
path: root/community/pdns-recursor
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-08 00:05:18 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-03-08 00:05:18 +0100
commit490c3b88f2206853708cb5ea908c33bd10bfb685 (patch)
treef5853f3128433d4a7a1693fdd72b5049f49435bc /community/pdns-recursor
parent2bfa52bb17dd593e02f5d9f53f2a6cab4a9521a3 (diff)
downloadaports-490c3b88f2206853708cb5ea908c33bd10bfb685.tar.bz2
aports-490c3b88f2206853708cb5ea908c33bd10bfb685.tar.xz
community/pdns-recursor: 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 'community/pdns-recursor')
-rw-r--r--community/pdns-recursor/APKBUILD4
-rw-r--r--community/pdns-recursor/pdns-recursor.post-deinstall4
2 files changed, 2 insertions, 6 deletions
diff --git a/community/pdns-recursor/APKBUILD b/community/pdns-recursor/APKBUILD
index 08eeda8749..1851275467 100644
--- a/community/pdns-recursor/APKBUILD
+++ b/community/pdns-recursor/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Olivier Mauras <olivier@mauras.ch>
pkgname=pdns-recursor
pkgver=4.0.4
-pkgrel=0
+pkgrel=1
pkgdesc="PowerDNS Recursive Server"
url="http://www.powerdns.com/"
arch="all"
@@ -9,7 +9,7 @@ license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev boost-dev lua-dev libressl-dev"
-install="$pkgname.pre-install $pkgname.post-deinstall"
+install="$pkgname.pre-install"
subpackages="$pkgname-doc"
pkgusers="pdns"
pkggroups="pdns"
diff --git a/community/pdns-recursor/pdns-recursor.post-deinstall b/community/pdns-recursor/pdns-recursor.post-deinstall
deleted file mode 100644
index a7604db3ff..0000000000
--- a/community/pdns-recursor/pdns-recursor.post-deinstall
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-deluser recursor 2>/dev/null
-exit 0