[Lunar-commits] <moonbase> *cron*: Added migration code in POST_INSTALL just to be safe

Stefan Wold ratler at lunar-linux.org
Sat Nov 7 23:17:15 CET 2009


commit 3b570aeff3b16fb5f32bac0c2bc5e5eb4661dfcf
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sat Nov 7 23:17:15 2009 +0100

    *cron*: Added migration code in POST_INSTALL just to be safe
---
 utils/cronie/POST_INSTALL     |    3 +++
 utils/hc-cron/POST_INSTALL    |    3 +++
 utils/vixie-cron/POST_INSTALL |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/utils/cronie/POST_INSTALL b/utils/cronie/POST_INSTALL
new file mode 100644
index 0000000..c3ed7ce
--- /dev/null
+++ b/utils/cronie/POST_INSTALL
@@ -0,0 +1,3 @@
+if [ ! -e /etc/crontab ] || [ ! -e /usr/bin/run-parts ]; then
+  lin -c cron-common
+fi
diff --git a/utils/hc-cron/POST_INSTALL b/utils/hc-cron/POST_INSTALL
new file mode 100644
index 0000000..c3ed7ce
--- /dev/null
+++ b/utils/hc-cron/POST_INSTALL
@@ -0,0 +1,3 @@
+if [ ! -e /etc/crontab ] || [ ! -e /usr/bin/run-parts ]; then
+  lin -c cron-common
+fi
diff --git a/utils/vixie-cron/POST_INSTALL b/utils/vixie-cron/POST_INSTALL
new file mode 100644
index 0000000..c3ed7ce
--- /dev/null
+++ b/utils/vixie-cron/POST_INSTALL
@@ -0,0 +1,3 @@
+if [ ! -e /etc/crontab ] || [ ! -e /usr/bin/run-parts ]; then
+  lin -c cron-common
+fi


More information about the Lunar-commits mailing list