aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Steel <jsteel@archlinux.org>2016-04-27 21:31:42 +0100
committerJonathan Steel <jsteel@archlinux.org>2016-04-27 21:31:42 +0100
commit424e3203e0a5d7ea31088dca2f7813abc8489979 (patch)
tree0779bbc331dfd418abe1504b6f8faaf730527845
parent403b591f0104d36ebd13eaddf6da2263941b8eae (diff)
downloadAUR-424e3203e0a5d7ea31088dca2f7813abc8489979.tar.gz
AUR-424e3203e0a5d7ea31088dca2f7813abc8489979.tar.zst
AUR-424e3203e0a5d7ea31088dca2f7813abc8489979.zip
We should not remove users/groups when packages are uninstalled
https://lists.archlinux.org/pipermail/arch-dev-public/2015-February/026953.html
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD2
-rw-r--r--naemon.install4
3 files changed, 4 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 356c51e..fc51057 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
1# Generated by makepkg 4.2.1 1# Generated by mksrcinfo v8
2# Tue Apr 21 14:57:11 UTC 2015 2# Wed Apr 27 20:26:08 UTC 2016
3pkgbase = naemon 3pkgbase = naemon
4 pkgver = 1.0.3 4 pkgver = 1.0.3
5 pkgrel = 1 5 pkgrel = 2
6 url = http://naemon.org 6 url = http://naemon.org
7 arch = i686 7 arch = i686
8 arch = x86_64 8 arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 01f7a64..84e901b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
3pkgbase=naemon 3pkgbase=naemon
4pkgname=('naemon-core' 'naemon-livestatus' 'naemon-thruk') 4pkgname=('naemon-core' 'naemon-livestatus' 'naemon-thruk')
5pkgver=1.0.3 5pkgver=1.0.3
6pkgrel=1 6pkgrel=2
7arch=('i686' 'x86_64') 7arch=('i686' 'x86_64')
8url="http://naemon.org" 8url="http://naemon.org"
9license=('GPL2') 9license=('GPL2')
diff --git a/naemon.install b/naemon.install
index 429505a..d5b5b5f 100644
--- a/naemon.install
+++ b/naemon.install
@@ -13,7 +13,3 @@ pre_remove() {
13 systemctl stop naemon 13 systemctl stop naemon
14 fi 14 fi
15} 15}
16
17post_remove() {
18 userdel naemon
19}