diff options
author | Michael Gerber | 2016-01-02 15:54:33 +0100 |
---|---|---|
committer | Michael Gerber | 2016-01-02 15:54:33 +0100 |
commit | 26ee6b826ca5dd47ca8697ef60d3ee157b7a4f42 (patch) | |
tree | 02168ddd3a25085687be744fa35c39bba2cb0aef | |
parent | 9c45044bedab2515548078e913e176e8fa1330bc (diff) | |
download | aur-26ee6b826ca5dd47ca8697ef60d3ee157b7a4f42.tar.gz |
Cleaned up install file. No more superfluous output
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | open-xchange-authorization-standard.install | 4 |
3 files changed, 3 insertions, 7 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jan 1 18:11:31 UTC 2016 +# Sat Jan 2 14:54:33 UTC 2016 pkgbase = open-xchange-authorization-standard pkgdesc = Module implementing the default authorization pkgver = 7.8.0 @@ -8,8 +8,6 @@ pkgbase = open-xchange-authorization-standard install = open-xchange-authorization-standard.install arch = any groups = open-xchange-minimal - groups = open-xchange - groups = open-xchange-all license = GPLv2 depends = open-xchange-core provides = open-xchange-authorization @@ -3,7 +3,7 @@ pkgname=open-xchange-authorization-standard pkgver=7.8.0 pkgrel=6 pkgdesc='Module implementing the default authorization' -groups=('open-xchange-minimal' 'open-xchange' 'open-xchange-all') +groups=('open-xchange-minimal') install='open-xchange-authorization-standard.install' arch=('any') url='http://www.ox.io/' diff --git a/open-xchange-authorization-standard.install b/open-xchange-authorization-standard.install index 5a0607f15101..27ab8bbd33a0 100644 --- a/open-xchange-authorization-standard.install +++ b/open-xchange-authorization-standard.install @@ -3,9 +3,7 @@ # you don't need (and this header). pre_install() { - if id -u "open-xchange" >/dev/null 2>&1; then - echo "user open-xchange exists. All good." - else + if ! id -u "open-xchange" >/dev/null 2>&1; then echo "user open-xchange does not exist. Creating it now" useradd -U -s /usr/bin/false -d /opt/open-xchange open-xchange fi |