summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/openfire/openfire.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/openfire/openfire.SlackBuild b/network/openfire/openfire.SlackBuild
index 2cad7af6d2..a7724796d0 100644
--- a/network/openfire/openfire.SlackBuild
+++ b/network/openfire/openfire.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
#
# Slackware build script for Zeromq-jzmq
# Written by Mário Antunes (mario.antunes@av.it.pt)
@@ -38,9 +38,9 @@ bailout() {
# Bail if user and/or group isn't valid on your system
# uid=265 is suggested to avoid conflicts with other SBo packages,
# but it's your call: http://slackbuilds.org/uid_gid.txt
-if ! grep -q "^$OPENFIRE_USER:" /etc/passwd; then
+if ! getent passwd $OPENFIRE_USER 2>/dev/null; then
bailout
-elif ! grep -q "^$OPENFIRE_GROUP:" /etc/group; then
+elif ! getent group $OPENFIRE_GROUP 2>/dev/null; then
bailout
fi