[arch-commits] Commit in cronie/trunk (PKGBUILD)
Gaetan Bisson
bisson at archlinux.org
Wed Apr 27 20:40:33 UTC 2011
Date: Wednesday, April 27, 2011 @ 16:40:33
Author: bisson
Revision: 121015
add /etc/crontab to enable inotify support
Modified:
cronie/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-04-27 20:15:15 UTC (rev 121014)
+++ PKGBUILD 2011-04-27 20:40:33 UTC (rev 121015)
@@ -3,7 +3,7 @@
pkgname='cronie'
pkgver=1.4.7
-pkgrel=5
+pkgrel=6
pkgdesc='Daemon that runs specified programs at scheduled times and related tools'
url='https://fedorahosted.org/cronie/'
license=('custom:BSD')
@@ -17,7 +17,8 @@
'6d8aef6880935b3dcc3e28481111d036544eeae5'
'c08c040ed5cb12bc4fd15639a5242d31ec247ef5')
-backup=('etc/anacrontab'
+backup=('etc/crontab'
+ 'etc/anacrontab'
'etc/conf.d/crond'
'etc/pam.d/crond'
'etc/cron.deny')
@@ -56,7 +57,10 @@
install -Dm644 contrib/0hourly "${pkgdir}"/etc/cron.d/0hourly
install -Dm755 contrib/0anacron "${pkgdir}"/etc/cron.hourly/0anacron
install -Dm644 contrib/anacrontab "${pkgdir}"/etc/anacrontab
- touch "${pkgdir}"/etc/cron.deny
+ # /etc/cron.deny must exist to allow all users to use crontab
+ # /etc/crontab must exist for crond to enable inotify support
+ touch "${pkgdir}"/etc/cron{tab,.deny}
+
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/cronie/COPYING
}
More information about the arch-commits
mailing list