mlocate: use _mlocate account name.

mupdatedb fixes the permissions on next run.
This commit is contained in:
Leah Neukirchen 2018-09-07 14:15:45 +02:00
parent d51c2ade89
commit a31f0cb99e
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
# INSTALL
case "$ACTION" in
post)
chown root:mlocate usr/bin/mlocate
chown root:_mlocate usr/bin/mlocate
chmod 2755 usr/bin/mlocate
;;
esac

View file

@ -1,10 +1,12 @@
# Template file for 'mlocate'
pkgname=mlocate
version=0.26
revision=3
revision=4
build_style=gnu-configure
configure_args="--program-prefix=m --localstatedir=/var/lib"
system_accounts="mlocate"
make_build_args="groupname=_mlocate"
make_install_args="${make_build_args}"
system_accounts="_mlocate"
make_dirs="/var/lib/mlocate 0755 root root"
short_desc="Implementation of locate/updatedb that reuses the database"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"