diff options
author | Richard Narron <richard@aaazen.com> | 2014-08-10 11:03:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-15 23:21:21 +0700 |
commit | 48e3666c679d5b0411c52ec7d7648a7ebc714217 (patch) | |
tree | fd2873f9c26bc6902ecffb4793f897704193479b /system/fcron/fcron.SlackBuild | |
parent | ed645e164f88369040493458757ecb6334a46583 (diff) | |
download | slackbuilds-48e3666c679d5b0411c52ec7d7648a7ebc714217.tar.gz |
system/fcron: Added sample.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fcron/fcron.SlackBuild')
-rw-r--r-- | system/fcron/fcron.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/fcron/fcron.SlackBuild b/system/fcron/fcron.SlackBuild index 3caab1d06b..6ed7680123 100644 --- a/system/fcron/fcron.SlackBuild +++ b/system/fcron/fcron.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=fcron VERSION=${VERSION:-3.2.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Select fcron's default user/group @@ -20,7 +20,7 @@ if ! getent group $FCRON_GROUP >/dev/null; then exit 1 fi if ! getent passwd $FCRON_USER >/dev/null; then - echo "Error, the userid $FCRON_USER does not exist." + echo "Error, the userid $FCRON_USER does not exist." echo "Create the user like this:" echo " useradd -u 289 -g $FCRON_GROUP -d /var/spool/fcron -M -s /bin/false $FCRON_USER" exit 1 @@ -95,6 +95,7 @@ install -D -m 0644 $CWD/rc.fcron $PKG/etc/rc.d/rc.fcron.new cp -a README $PKG/usr/doc/$PRGNAM-$VERSION cp -a $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/README.slackware cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cp -a $CWD/sample-root-fcrontab.txt $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/etc/fcron.conf $PKG/etc/fcron.conf.new mv $PKG/etc/fcron.deny $PKG/etc/fcron.deny.new |