[Lunar-commits] <moonbase> cronie: Minor tweak to create /var/spool/cron (cronie will autocreate otherwise)

Stefan Wold ratler at lunar-linux.org
Sat Feb 6 15:42:53 CET 2010


commit 421aa99acc60c2e96ef5e1576f26310c9f97ffad
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sat Feb 6 15:42:53 2010 +0100

    cronie: Minor tweak to create /var/spool/cron (cronie will autocreate otherwise)
---
 utils/cronie/BUILD |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/utils/cronie/BUILD b/utils/cronie/BUILD
index 4a481cc..cc6f283 100644
--- a/utils/cronie/BUILD
+++ b/utils/cronie/BUILD
@@ -14,6 +14,7 @@
 
   chmod 6711 /usr/bin/crontab &&
 
+  [ -d /var/spool/cron ] || install -d -m 0700 /var/spool/cron &&
   [ -e /etc/config.d/crond ] || install -m 644 $SOURCE_DIRECTORY/crond.sysconfig /etc/config.d/crond
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list