mlocate: add updatedb.conf.5 alternative
This commit is contained in:
parent
5c9ee7ab74
commit
9e2f629688
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mlocate'
|
# Template file for 'mlocate'
|
||||||
pkgname=mlocate
|
pkgname=mlocate
|
||||||
version=0.26
|
version=0.26
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--program-prefix=m --localstatedir=/var/lib"
|
configure_args="--program-prefix=m --localstatedir=/var/lib"
|
||||||
make_build_args="groupname=_mlocate"
|
make_build_args="groupname=_mlocate"
|
||||||
|
@ -19,6 +19,7 @@ alternatives="
|
||||||
locate:locate:/usr/bin/mlocate
|
locate:locate:/usr/bin/mlocate
|
||||||
locate:locate.1:/usr/share/man/man1/mlocate.1
|
locate:locate.1:/usr/share/man/man1/mlocate.1
|
||||||
locate:locatedb.5:/usr/share/man/man5/mmlocate.db.5
|
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:/usr/bin/mupdatedb
|
||||||
locate:updatedb.1:/usr/share/man/man1/mupdatedb.1"
|
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
|
vinstall ${FILESDIR}/mupdatedb.cron-daily 744 etc/cron.daily mupdatedb
|
||||||
# rename for compatibility with findutils.
|
# rename for compatibility with findutils.
|
||||||
mv ${DESTDIR}/usr/share/man/man8/mupdatedb.8 ${DESTDIR}/usr/share/man/man1/mupdatedb.1
|
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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue