mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-07 13:40:36 +02:00
`file-database-service-type' appends 'bin/updatedb' path to the `package' field provided by `file-database-configuration'. This prevents users from using alternate packages which also provide 'updatedb' but in a different location. For example, the `plocate' package installs 'updatedb' in 'sbin/updatedb'. Fallback to 'sbin/' if 'updatedb' is not found in 'bin/'. * gnu/services/admin.scm (<file-database-configuration>)[package]: Update docstring. (file-database-shepherd-services): Locate 'updatedb' binary. * doc/guix.texi (File Search Services): Update accordingly. Change-Id: Ic741716044be3a8f51a157510f9f923bd66c41d7 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Modified-by: Ludovic Courtès <ludo@gnu.org>