summaryrefslogtreecommitdiff
path: root/system/fcron/fcron.SlackBuild
diff options
context:
space:
mode:
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 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