mlocate updated
This commit is contained in:
parent
cd3a94dd58
commit
3ba862cc90
|
@ -39,6 +39,9 @@ if [ -x /usr/bin/ionice ] && /usr/bin/ionice -c3 true 2>/dev/null; then
|
|||
/usr/bin/ionice -c${IONICE_CLASS:-2} -n${IONICE_PRIORITY:-7} -p $$ > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
# Cleanup old temp files from previous unsuccessful runs
|
||||
rm -f /var/lib/mlocate/mlocate.db.*
|
||||
|
||||
# run the updatedb if possible
|
||||
if [ -x /usr/bin/updatedb ]; then
|
||||
/usr/bin/updatedb -f "${NODEVS}"
|
||||
|
|
|
@ -39,6 +39,9 @@ if [ -x /usr/bin/ionice ] && /usr/bin/ionice -c3 true 2>/dev/null; then
|
|||
/usr/bin/ionice -c${IONICE_CLASS:-2} -n${IONICE_PRIORITY:-7} -p $$ > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
# Cleanup old temp files from previous unsuccessful runs
|
||||
rm -f /var/lib/mlocate/mlocate.db.*
|
||||
|
||||
# run the updatedb if possible
|
||||
if [ -x /usr/bin/updatedb ]; then
|
||||
/usr/bin/updatedb -f "${NODEVS}"
|
||||
|
|
Loading…
Reference in New Issue