cronie: don't install pkg specific jobs, bumprev.

--HG--
extra : convert_revision : 1bff999c417dde2ed04cd6fab8c5ee98356b0eae
This commit is contained in:
Juan RP 2009-03-28 18:47:39 +01:00
parent 76e72309a4
commit 5c1380bf6f
3 changed files with 1 additions and 22 deletions

View File

@ -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

View File

@ -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"

View File

@ -1,6 +1,7 @@
# Template file for 'cronie' # Template file for 'cronie'
pkgname=cronie pkgname=cronie
version=1.2 version=1.2
revision=1
distfiles="http://mmaslano.fedorapeople.org/cronie/cronie-$version.tar.gz" distfiles="http://mmaslano.fedorapeople.org/cronie/cronie-$version.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--with-inotify --without-selinux --with-pam 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 -m755 ${FILESDIR}/crond ${DESTDIR}/etc/rc.d/crond
install -D -m644 ${FILESDIR}/crontab ${DESTDIR}/etc/crontab 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
} }