dcron: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 07:48:26 +02:00
parent 7d856ba26e
commit 9211d3acb5
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'dcron' # Template file for 'dcron'
pkgname=dcron pkgname=dcron
version=4.5 version=4.5
revision=27 revision=28
build_pie=yes build_pie=yes
conf_files="/var/spool/cron/root" conf_files="/var/spool/cron/root"
replaces="cron-daemon>=0" replaces="cron-daemon>=0"
@ -31,9 +31,9 @@ do_build() {
CRONSTAMPS=/var/spool/cronstamps ${makejobs} CRONSTAMPS=/var/spool/cronstamps ${makejobs}
} }
do_install() { do_install() {
make DESTDIR=${DESTDIR} install make SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
install -Dm755 extra/run-cron ${DESTDIR}/usr/sbin/run-cron vbin extra/run-cron
install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root install -Dm600 extra/root.crontab ${DESTDIR}/var/spool/cron/root
# crontab must be setuid for all users to work! # crontab must be setuid for all users to work!