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-03-12 11:32:06 -01:00
|
|
|
if [ $(which updatedb.mlocate) ]
|
2011-07-18 13:28:32 +00:00
|
|
|
then
|
|
|
|
updatedb.mlocate
|
|
|
|
fi
|