blob: 8f6f583cfef46bfa69b0e60f985c6ff074042162 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
set -e
./configure --prefix=/usr --localstatedir=/var/lib/locate
make
make -j1 install
mv -v /usr/bin/find /bin
# shellcheck disable=SC2016
sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb
|