diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-08-31 20:57:49 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-08-31 20:57:49 +0000 |
commit | d4884490b2f549466239c0d757550dff786f0b90 (patch) | |
tree | 90406a3b00524bf8bd8718de1dc7e41fe74b4034 /sympa | |
parent | 1730433c725c3ed012edac3249a5f5c4f50ad9d2 (diff) | |
download | slackbuilds-d4884490b2f549466239c0d757550dff786f0b90.tar.gz slackbuilds-d4884490b2f549466239c0d757550dff786f0b90.tar.bz2 |
sympa update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@129 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'sympa')
-rwxr-xr-x | sympa/sympa.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
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 |