From: rhatto Date: Thu, 31 Aug 2006 20:57:49 +0000 (+0000) Subject: sympa update X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d4884490b2f549466239c0d757550dff786f0b90;p=slackbuilds.git sympa update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@129 370017ae-e619-0410-ac65-c121f96126d4 --- diff --git a/sympa/sympa.SlackBuild b/sympa/sympa.SlackBuild index 6e5df2d5..b0248e4d 100755 --- a/sympa/sympa.SlackBuild +++ b/sympa/sympa.SlackBuild @@ -47,6 +47,12 @@ SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} +if ! grep -qe "^$PACKAGE:" /etc/passwd || ! grep -qe "^$PACKAGE:" /etc/group; then + echo "WARNING: user and/or group $PACKAGE does not exist" + echo "Create it manually with \"groupadd $PACKAGE ; useradd $PACKAGE -g $PACKAGE\" and run this script again." + exit 1 +fi + if [ "$ARCH" == "x86_64" ]; then LIBDIR=/usr/lib64 else