diff options
author | Michael Gerber | 2016-01-02 15:54:22 +0100 |
---|---|---|
committer | Michael Gerber | 2016-01-02 15:54:22 +0100 |
commit | 537d2bae2ddb32d04bed676e5446064160890053 (patch) | |
tree | ef46d1d27cf97869e96de2d28c7330bd6ab8dfa8 | |
parent | aded11179eebc3f5e70fb98af3162eb172e71840 (diff) | |
download | aur-537d2bae2ddb32d04bed676e5446064160890053.tar.gz |
Cleaned up install file. No more superfluous output
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | open-xchange-admin.install | 4 |
3 files changed, 5 insertions, 12 deletions
@@ -1,22 +1,17 @@ # Generated by mksrcinfo v8 -# Fri Jan 1 17:02:26 UTC 2016 +# Sat Jan 2 14:54:22 UTC 2016 pkgbase = open-xchange-admin - pkgdesc = Commandline admin tools for OX + pkgdesc = The Open-Xchange backend administration extension pkgver = 7.8.0 pkgrel = 6 url = http://www.ox.io/ install = open-xchange-admin.install arch = any groups = open-xchange-minimal - groups = open-xchange - groups = open-xchange-all license = GPLv2 depends = open-xchange-core - depends = mariadb-clients - depends = bzip2 - depends = util-linux provides = open-xchange-admin - source = https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/open-xchange-admin_7.8.0-6_all.deb + source = https://software.open-xchange.com/products/appsuite/stable/backend/DebianJessie/all/open-xchange-admin_7.8.0-6_all.deb sha256sums = adf8844f67e7e0970a37bd34ff06eab65fa796868a4c9dbaa3a115513bfb5d7d pkgname = open-xchange-admin @@ -3,7 +3,7 @@ pkgname=open-xchange-admin pkgver=7.8.0 pkgrel=6 pkgdesc='The Open-Xchange backend administration extension' -groups=('open-xchange-minimal' 'open-xchange' 'open-xchange-all') +groups=('open-xchange-minimal') install='open-xchange-admin.install' arch=('any') url='http://www.ox.io/' diff --git a/open-xchange-admin.install b/open-xchange-admin.install index 5a0607f15101..27ab8bbd33a0 100644 --- a/open-xchange-admin.install +++ b/open-xchange-admin.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 |