aboutsummaryrefslogtreecommitdiff
path: root/system/fcron/fcron.SlackBuild
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2014-08-10 11:03:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:21 +0700
commit48e3666c679d5b0411c52ec7d7648a7ebc714217 (patch)
treefd2873f9c26bc6902ecffb4793f897704193479b /system/fcron/fcron.SlackBuild
parented645e164f88369040493458757ecb6334a46583 (diff)
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.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/fcron/fcron.SlackBuild b/system/fcron/fcron.SlackBuild
index 3caab1d06b147..6ed7680123371 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