From 9e2f629688240083d249df1affdc24bcfb9c5f99 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 3 Dec 2020 19:32:24 +0100 Subject: [PATCH] mlocate: add updatedb.conf.5 alternative --- srcpkgs/mlocate/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/mlocate/template b/srcpkgs/mlocate/template index cb6c6b8b39b..33d5a9d6238 100644 --- a/srcpkgs/mlocate/template +++ b/srcpkgs/mlocate/template @@ -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 }