summaryrefslogtreecommitdiff
path: root/core/dcron/dcron.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/dcron/dcron.install')
-rw-r--r--core/dcron/dcron.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/dcron/dcron.install b/core/dcron/dcron.install
new file mode 100644
index 000000000..ba08b3af1
--- /dev/null
+++ b/core/dcron/dcron.install
@@ -0,0 +1,10 @@
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ if [ "`vercmp $2 4.0`" -lt 0 ]
+ then
+ echo "Restart crond, since you're upgrading to the dcron 4.x series."
+ fi
+}
+
+# vim:set ts=2 sw=2 et: