From 44879d0e90ac1374f1e8456a70f4c0ce5f6613a7 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 8 Mar 2017 00:09:22 +0100 Subject: 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. --- main/nsd/APKBUILD | 4 ++-- main/nsd/nsd.post-deinstall | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 main/nsd/nsd.post-deinstall 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 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 -- cgit v1.2.3