diff options
author | Richard Narron <richard@aaazen.com> | 2016-07-31 01:31:00 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-03 06:59:28 +0700 |
commit | 8b88cf69877ae635a29476c615a716cbf0e1915a (patch) | |
tree | 5bf1879db8c457793f13fea75a027d9de1e1b2f4 /system/fcron/fcron.SlackBuild | |
parent | 186d63d961bd4ca5fb24e4b4e826a20bd32b52d4 (diff) | |
download | slackbuilds-8b88cf69877ae635a29476c615a716cbf0e1915a.tar.gz |
system/fcron: Remove FCRON_UID and FCRON_GID.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fcron/fcron.SlackBuild')
-rw-r--r-- | system/fcron/fcron.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
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 |