aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/findutils.sh
blob: 8203619aff2cc6a4230921c1e48bc49e6659f7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

./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