dcron: added missing owned dirs, bumprev.
This commit is contained in:
parent
7c4cdd62d9
commit
4bc2d4ee0a
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dcron'
|
# Template file for 'dcron'
|
||||||
pkgname=dcron
|
pkgname=dcron
|
||||||
version=4.5
|
version=4.5
|
||||||
revision=10
|
revision=11
|
||||||
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
|
||||||
short_desc="Dillon's lightweight cron daemon"
|
short_desc="Dillon's lightweight cron daemon"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -33,8 +33,11 @@ do_install()
|
||||||
{
|
{
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
install -d ${DESTDIR}/etc/cron.{hour,week,month}ly
|
for f in etc/cron.d etc/cron.hourly etc/cron.weekly etc/cron.monthly \
|
||||||
touch ${DESTDIR}/etc/cron.{hour,week,month}ly/.owned
|
var/spool/cronstamps; do
|
||||||
|
vmkdir ${f}
|
||||||
|
touch ${DESTDIR}/${f}/.owned
|
||||||
|
done
|
||||||
|
|
||||||
install -Dm755 extra/run-cron ${DESTDIR}/usr/sbin/run-cron
|
install -Dm755 extra/run-cron ${DESTDIR}/usr/sbin/run-cron
|
||||||
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
|
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
|
||||||
|
|
Loading…
Reference in New Issue