diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-07 17:00:41 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-07 17:00:41 -0300 |
commit | 3734b1ff855a5738195c6ff3def244d7b2e23e50 (patch) | |
tree | a4afb881617539f17c75b0ddc58902569d847809 /community/znc/znc.install | |
parent | d4eb5f4f523f90878c8d5ab59e6012ca401ca355 (diff) | |
parent | 7de07e40e2c0c078a35c5092e1f2defb65d1741e (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/znc/PKGBUILD
extra/hugin/PKGBUILD
extra/kdeplasma-addons/PKGBUILD
extra/postgresql/PKGBUILD
extra/talloc/PKGBUILD
Diffstat (limited to 'community/znc/znc.install')
-rw-r--r-- | community/znc/znc.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/znc/znc.install b/community/znc/znc.install new file mode 100644 index 000000000..92bc0572a --- /dev/null +++ b/community/znc/znc.install @@ -0,0 +1,17 @@ +#/bin/sh + +# arg 1: the new package version +post_install() { + getent group znc >/dev/null || groupadd -g 136 znc + getent passwd znc >/dev/null || useradd -d /var/empty -u 136 -g 136 znc + true +} + +# arg 1: the old package version +post_remove() { + userdel -f znc >/dev/null 2>&1 + groupdel znc >/dev/null 2>&1 + true +} + +# vim:set ts=2 sw=2 ft=sh et: |