Date: Tuesday, February 23, 2010 @ 21:57:16 Author: paul Revision: 70023
added install script to suggest restarting when upgrading to 4.x Added: dcron/trunk/dcron.install Modified: dcron/trunk/PKGBUILD ---------------+ PKGBUILD | 1 + dcron.install | 10 ++++++++++ 2 files changed, 11 insertions(+) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-02-23 23:59:15 UTC (rev 70022) +++ PKGBUILD 2010-02-24 02:57:16 UTC (rev 70023) @@ -20,6 +20,7 @@ '73693cdd59df526e729cdec99c5ed8fb' '5bfa07beb54d0beaf3f38225e4d5a9fa') optdepends=('smtp-server: sending cron job output via email') +install=$pkgname.install build() { cd "$srcdir/${pkgname}-${pkgver}" || return 1 Added: dcron.install =================================================================== --- dcron.install (rev 0) +++ dcron.install 2010-02-24 02:57:16 UTC (rev 70023) @@ -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: