mlocate: add updatedb.conf.5 alternative

This commit is contained in:
Duncaen 2020-12-03 19:32:24 +01:00
parent 5c9ee7ab74
commit 9e2f629688
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mlocate'
pkgname=mlocate
version=0.26
revision=5
revision=6
build_style=gnu-configure
configure_args="--program-prefix=m --localstatedir=/var/lib"
make_build_args="groupname=_mlocate"
@ -19,6 +19,7 @@ alternatives="
locate:locate:/usr/bin/mlocate
locate:locate.1:/usr/share/man/man1/mlocate.1
locate:locatedb.5:/usr/share/man/man5/mmlocate.db.5
locate:updatedb.conf.5:/usr/share/man/man5/mupdatedb.db.5
locate:updatedb:/usr/bin/mupdatedb
locate:updatedb.1:/usr/share/man/man1/mupdatedb.1"
@ -26,6 +27,4 @@ post_install() {
vinstall ${FILESDIR}/mupdatedb.cron-daily 744 etc/cron.daily mupdatedb
# rename for compatibility with findutils.
mv ${DESTDIR}/usr/share/man/man8/mupdatedb.8 ${DESTDIR}/usr/share/man/man1/mupdatedb.1
# remove 'm' prefix.
mv ${DESTDIR}/usr/share/man/man5/mupdatedb.conf.5 ${DESTDIR}/usr/share/man/man5/updatedb.conf.5
}