mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
mlocate: use _mlocate account name.
mupdatedb fixes the permissions on next run.
This commit is contained in:
parent
d51c2ade89
commit
a31f0cb99e
2 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# INSTALL
|
# INSTALL
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
chown root:mlocate usr/bin/mlocate
|
chown root:_mlocate usr/bin/mlocate
|
||||||
chmod 2755 usr/bin/mlocate
|
chmod 2755 usr/bin/mlocate
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
# Template file for 'mlocate'
|
# Template file for 'mlocate'
|
||||||
pkgname=mlocate
|
pkgname=mlocate
|
||||||
version=0.26
|
version=0.26
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--program-prefix=m --localstatedir=/var/lib"
|
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"
|
make_dirs="/var/lib/mlocate 0755 root root"
|
||||||
short_desc="Implementation of locate/updatedb that reuses the database"
|
short_desc="Implementation of locate/updatedb that reuses the database"
|
||||||
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue