summaryrefslogtreecommitdiffstats
path: root/source/a/dcron
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/dcron')
-rwxr-xr-xsource/a/dcron/dcron.SlackBuild7
-rw-r--r--source/a/dcron/doinst.sh1
-rw-r--r--source/a/dcron/run-parts.default1
3 files changed, 6 insertions, 3 deletions
diff --git a/source/a/dcron/dcron.SlackBuild b/source/a/dcron/dcron.SlackBuild
index b1bb34962..c09bd8fdc 100755
--- a/source/a/dcron/dcron.SlackBuild
+++ b/source/a/dcron/dcron.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009, 2010, 2012, 2016, 2018, 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010, 2012, 2016, 2018, 2022, 2024 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=dcron
VERSION=${VERSION:-$(echo dcron-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-13}
+BUILD=${BUILD:-14}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -126,9 +126,10 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.crond > $PKG/etc/rc.d/rc.crond.new
chmod 755 $PKG/etc/rc.d/rc.crond.new
-# Add the default file:
+# Add the default files:
mkdir -p $PKG/etc/default
cat $CWD/crond.default > $PKG/etc/default/crond.new
+cat $CWD/run-parts.default > $PKG/etc/default/run-parts.new
# Create some other stuff we need
mkdir -p $PKG/etc/cron.{hourly,daily,weekly,monthly}
diff --git a/source/a/dcron/doinst.sh b/source/a/dcron/doinst.sh
index 0d5f1ee87..2c3785fa0 100644
--- a/source/a/dcron/doinst.sh
+++ b/source/a/dcron/doinst.sh
@@ -26,5 +26,6 @@ preserve_perms() {
preserve_perms etc/rc.d/rc.crond.new
config etc/default/crond.new
+config etc/default/run-parts.new
config var/spool/cron/crontabs/root.new
rm -f var/spool/cron/crontabs/root.new
diff --git a/source/a/dcron/run-parts.default b/source/a/dcron/run-parts.default
new file mode 100644
index 000000000..6fd1cce97
--- /dev/null
+++ b/source/a/dcron/run-parts.default
@@ -0,0 +1 @@
+# This file is used to set environment variables for /usr/bin/run-parts.