summarylogtreecommitdiffstats
path: root/open-xchange-admin.install
diff options
context:
space:
mode:
authorMichael Gerber2016-01-02 15:54:22 +0100
committerMichael Gerber2016-01-02 15:54:22 +0100
commit537d2bae2ddb32d04bed676e5446064160890053 (patch)
treeef46d1d27cf97869e96de2d28c7330bd6ab8dfa8 /open-xchange-admin.install
parentaded11179eebc3f5e70fb98af3162eb172e71840 (diff)
downloadaur-537d2bae2ddb32d04bed676e5446064160890053.tar.gz
Cleaned up install file. No more superfluous output
Diffstat (limited to 'open-xchange-admin.install')
-rw-r--r--open-xchange-admin.install4
1 files changed, 1 insertions, 3 deletions
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