diff options
author | Michael Gerber | 2016-01-02 15:55:33 +0100 |
---|---|---|
committer | Michael Gerber | 2016-01-02 15:55:33 +0100 |
commit | 349197e841dc6c80ee08fe870a2a1bee184cbec5 (patch) | |
tree | 5cde4a96d27eaac89a29526f25d8b3da33657dfe | |
parent | 6a379d40673c1f32740535173fe81cea48bb0155 (diff) | |
download | aur-349197e841dc6c80ee08fe870a2a1bee184cbec5.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-core.install | 4 |
3 files changed, 3 insertions, 7 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jan 1 17:44:08 UTC 2016 +# Sat Jan 2 14:55:33 UTC 2016 pkgbase = open-xchange-core pkgdesc = The essential core of an Open-Xchange backend pkgver = 7.8.0 @@ -8,8 +8,6 @@ pkgbase = open-xchange-core install = open-xchange-core.install arch = any groups = open-xchange-minimal - groups = open-xchange - groups = open-xchange-all license = GPLv2 depends = open-xchange-osgi depends = open-xchange-xerces @@ -3,7 +3,7 @@ pkgname=open-xchange-core pkgver=7.8.0 pkgrel=6 pkgdesc='The essential core of an Open-Xchange backend' -groups=('open-xchange-minimal' 'open-xchange' 'open-xchange-all') +groups=('open-xchange-minimal') install='open-xchange-core.install' arch=('any') url='http://www.ox.io/' diff --git a/open-xchange-core.install b/open-xchange-core.install index 5a0607f15101..27ab8bbd33a0 100644 --- a/open-xchange-core.install +++ b/open-xchange-core.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 |