findutils: Run updatedb once a week

As suggested in bug #10303
This commit is contained in:
Michael Tremer
2014-08-24 14:46:06 +02:00
parent 9bd0bfd233
commit bfea8d7d2f
4 changed files with 22 additions and 1 deletions

View File

@@ -91,6 +91,10 @@ ifeq "$(ROOT)" ""
mv -v /usr/bin/find /bin
sed -i -e 's|BINDIR=/usr/bin|BINDIR=/bin|' /usr/bin/updatedb
-mkdir -p /var/lib/locate
-mkdir -pv /etc/fcron.weekly
install -v -m 754 $(DIR_SRC)/config/findutils/updatedb \
/etc/fcron.weekly/updatedb
endif
@rm -rf $(DIR_APP)
@$(POSTBUILD)