2011-07-18 13:28:32 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Update the mlocate database.
|
|
|
|
#
|
|
|
|
# It is convenient for this to be already up to date on the live system, and it
|
|
|
|
# means that if the live system is later installed to a hard disk then less
|
|
|
|
# work will be required after installation.
|
|
|
|
|
2020-05-01 02:23:39 +00:00
|
|
|
if command -v updatedb.mlocate >/dev/null
|
2011-07-18 13:28:32 +00:00
|
|
|
then
|
|
|
|
updatedb.mlocate
|
|
|
|
fi
|