summaryrefslogtreecommitdiffstats
path: root/abs/core/dcron/dcron.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/dcron/dcron.install')
-rw-r--r--abs/core/dcron/dcron.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/dcron/dcron.install b/abs/core/dcron/dcron.install
new file mode 100644
index 0000000..ba08b3a
--- /dev/null
+++ b/abs/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: