summaryrefslogtreecommitdiffstats
path: root/abs/core/dcron/dcron.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-05 03:10:33 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-05 03:10:33 (GMT)
commit1ef6179b351e630270855c1442c3432643e6beac (patch)
treeae55fd68f80b80fcf55b143a7e25763bc6c0466b /abs/core/dcron/dcron.install
parentc456596c1877710fb6190c940a3d259914227bac (diff)
downloadlinhes_pkgbuild-1ef6179b351e630270855c1442c3432643e6beac.zip
linhes_pkgbuild-1ef6179b351e630270855c1442c3432643e6beac.tar.gz
linhes_pkgbuild-1ef6179b351e630270855c1442c3432643e6beac.tar.bz2
dcron:Bumped to latest.
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: