findutils: fix locate database updater.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 3 Nov 2010 18:38:19 +0000 (19:38 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 3 Nov 2010 18:38:19 +0000 (19:38 +0100)
config/rootfiles/common/findutils
lfs/findutils

index d8e5c1b06f0f078f149e6c5af11ab432c10bc77a..13cae26eb880da30124d918248af1c0ba300244f 100644 (file)
@@ -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
index 6321458a1ffd84c75ff57baf2d4958c8e88d7b0e..c05aca3cb712f853996ef290898d29a264ea5141 100644 (file)
@@ -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)