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 /calcengine.install | |
parent | 9f7590120ae30db7e0a85d0e7575ba1653806c13 (diff) | |
download | aur-7f0b2bb1ccd79f8ba5ef81dad00760bf84e3c6d2.tar.gz |
Cleaned up install file. No more superfluous output
Diffstat (limited to 'calcengine.install')
-rw-r--r-- | calcengine.install | 4 |
1 files changed, 1 insertions, 3 deletions
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 |