mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
findutils: fix locate database updater.
This commit is contained in:
@@ -4,9 +4,9 @@ usr/bin/locate
|
||||
usr/bin/updatedb
|
||||
usr/bin/xargs
|
||||
#usr/lib/findutils
|
||||
#usr/lib/findutils/bigram
|
||||
#usr/lib/findutils/code
|
||||
#usr/lib/findutils/frcode
|
||||
usr/lib/findutils/bigram
|
||||
usr/lib/findutils/code
|
||||
usr/lib/findutils/frcode
|
||||
#usr/share/info/find-maint.info
|
||||
#usr/share/info/find.info
|
||||
#usr/share/man/man1/find.1
|
||||
@@ -14,3 +14,4 @@ usr/bin/xargs
|
||||
#usr/share/man/man1/updatedb.1
|
||||
#usr/share/man/man1/xargs.1
|
||||
#usr/share/man/man5/locatedb.5
|
||||
var/lib/locate
|
||||
|
||||
@@ -89,7 +89,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && make $(EXTRA_INSTALL) install
|
||||
ifeq "$(ROOT)" ""
|
||||
mv -v /usr/bin/find /bin
|
||||
sed -i -e 's/find:=${BINDIR}/find:=\/bin/' /usr/bin/updatedb
|
||||
sed -i -e 's|BINDIR=/usr/bin|BINDIR=/bin|' /usr/bin/updatedb
|
||||
-mkdir -p /var/lib/locate
|
||||
endif
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user