diff --git a/templates/cronie/files/makewhatis.cron b/templates/cronie/files/makewhatis.cron deleted file mode 100644 index 897e35f1ea4..00000000000 --- a/templates/cronie/files/makewhatis.cron +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -LOCKFILE=/var/lock/makewhatis.lock - -# the lockfile is not meant to be perfect, it's just in case the -# two makewhatis cron scripts get run close to each other to keep -# them from stepping on each other's toes. The worst that will -# happen is that they will temporarily corrupt the database... -[ -f $LOCKFILE ] && exit 0 - -trap "{ rm -f $LOCKFILE ; exit 255; }" EXIT -touch $LOCKFILE -makewhatis -u -w -exit 0 diff --git a/templates/cronie/files/mlocate.cron b/templates/cronie/files/mlocate.cron deleted file mode 100644 index 6a338e110f1..00000000000 --- a/templates/cronie/files/mlocate.cron +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -nodevs=$(< /proc/filesystems awk '$1 == "nodev" { print $2 }') -renice +19 -p $$ >/dev/null 2>&1 -ionice -c2 -n7 -p $$ >/dev/null 2>&1 -/usr/bin/updatedb -f "$nodevs" diff --git a/templates/cronie/template b/templates/cronie/template index f7be17e2ea2..b990a9bb2a9 100644 --- a/templates/cronie/template +++ b/templates/cronie/template @@ -1,6 +1,7 @@ # Template file for 'cronie' pkgname=cronie version=1.2 +revision=1 distfiles="http://mmaslano.fedorapeople.org/cronie/cronie-$version.tar.gz" build_style=gnu_configure configure_args="--with-inotify --without-selinux --with-pam @@ -31,7 +32,4 @@ post_install() install -D -m755 ${FILESDIR}/crond ${DESTDIR}/etc/rc.d/crond install -D -m644 ${FILESDIR}/crontab ${DESTDIR}/etc/crontab - - install -m755 ${FILESDIR}/mlocate.cron ${DESTDIR}/etc/cron.daily - install -m755 ${FILESDIR}/makewhatis.cron ${DESTDIR}/etc/cron.daily }