diff options
author | Jonathan Steel <jsteel@archlinux.org> | 2016-04-27 21:31:42 +0100 |
---|---|---|
committer | Jonathan Steel <jsteel@archlinux.org> | 2016-04-27 21:31:42 +0100 |
commit | 424e3203e0a5d7ea31088dca2f7813abc8489979 (patch) | |
tree | 0779bbc331dfd418abe1504b6f8faaf730527845 | |
parent | 403b591f0104d36ebd13eaddf6da2263941b8eae (diff) | |
download | AUR-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-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | naemon.install | 4 |
3 files changed, 4 insertions, 8 deletions
@@ -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 |
3 | pkgbase = naemon | 3 | pkgbase = 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 |
@@ -3,7 +3,7 @@ | |||
3 | pkgbase=naemon | 3 | pkgbase=naemon |
4 | pkgname=('naemon-core' 'naemon-livestatus' 'naemon-thruk') | 4 | pkgname=('naemon-core' 'naemon-livestatus' 'naemon-thruk') |
5 | pkgver=1.0.3 | 5 | pkgver=1.0.3 |
6 | pkgrel=1 | 6 | pkgrel=2 |
7 | arch=('i686' 'x86_64') | 7 | arch=('i686' 'x86_64') |
8 | url="http://naemon.org" | 8 | url="http://naemon.org" |
9 | license=('GPL2') | 9 | license=('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 | |||
17 | post_remove() { | ||
18 | userdel naemon | ||
19 | } | ||