diff options
author | Michael Gerber | 2016-01-02 15:54:13 +0100 |
---|---|---|
committer | Michael Gerber | 2016-01-02 15:54:13 +0100 |
commit | 7f0b2bb1ccd79f8ba5ef81dad00760bf84e3c6d2 (patch) | |
tree | 82636ae5f382543cd92bdb659ac2b7e6f984f51f | |
parent | 9f7590120ae30db7e0a85d0e7575ba1653806c13 (diff) | |
download | aur-7f0b2bb1ccd79f8ba5ef81dad00760bf84e3c6d2.tar.gz |
Cleaned up install file. No more superfluous output
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | calcengine.install | 4 |
3 files changed, 5 insertions, 9 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Fri Jan 1 17:26:12 UTC 2016 +# Sat Jan 2 14:54:13 UTC 2016 pkgbase = calcengine pkgdesc = OX Appsuite CalcEngine pkgver = 1.4.993 @@ -7,12 +7,10 @@ pkgbase = calcengine url = http://www.ox.io/ install = calcengine.install arch = any - groups = open-xchange-minimal - groups = open-xchange - groups = open-xchange-all + groups = open-xchange-office license = GPLv2 provides = calcengine - source = https://software.open-xchange.com/products/appsuite/stable/debs/DebianJessie/all/calcengine-1.4.993-Linux.deb + source = https://software.open-xchange.com/products/appsuite/stable/calcengine/DebianJessie/all/calcengine-1.4.993-Linux.deb sha256sums = 406389fe920b6f8039aa2b98d10eaf4e30773d98f34ac509b3546aac3fc5ca16 pkgname = calcengine @@ -3,7 +3,7 @@ pkgname=calcengine pkgver=1.4.993 pkgrel=1 pkgdesc='OX Appsuite CalcEngine' -groups=('open-xchange-minimal' 'open-xchange' 'open-xchange-all') +groups=('open-xchange-office') install='calcengine.install' arch=('any') url='http://www.ox.io/' diff --git a/calcengine.install b/calcengine.install index 5a0607f15101..27ab8bbd33a0 100644 --- a/calcengine.install +++ b/calcengine.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 |