From 8b88cf69877ae635a29476c615a716cbf0e1915a Mon Sep 17 00:00:00 2001 From: Richard Narron Date: Sun, 31 Jul 2016 01:31:00 +0700 Subject: system/fcron: Remove FCRON_UID and FCRON_GID. Signed-off-by: Willy Sudiarto Raharjo --- system/fcron/fcron.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'system') diff --git a/system/fcron/fcron.SlackBuild b/system/fcron/fcron.SlackBuild index b4dd416245..3b9ae4809e 100644 --- a/system/fcron/fcron.SlackBuild +++ b/system/fcron/fcron.SlackBuild @@ -24,26 +24,24 @@ PRGNAM=fcron VERSION=${VERSION:-3.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Select fcron's default user/group FCRON_USER=${FCRON_USER:-fcron} -FCRON_UID=${FCRON_UID:-289} FCRON_GROUP=${FCRON_GROUP:-fcron} -FCRON_GID=${FCRON_GID:-289} if ! getent group $FCRON_GROUP >/dev/null; then echo "Error, the group $FCRON_GROUP does not exist." echo "Create the group and user like this:" - echo " groupadd -g $FCRON_GID $FCRON_GROUP" - echo " useradd -u $FCRON_UID -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" + echo " groupadd -g 289 $FCRON_GROUP" + echo " useradd -u 289 -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" exit 1 fi if ! getent passwd $FCRON_USER >/dev/null; then echo "Error, the userid $FCRON_USER does not exist." echo "Create the user like this:" - echo " useradd -u $FCRON_UID -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" + echo " useradd -u 289 -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" exit 1 fi -- cgit v1.2.3