aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/findutils.sh
blob: 101f46462487317bacc787cd45033cadbf11b4ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# shellcheck disable=SC2016


./configure --prefix=/usr --localstatedir=/var/lib/locate &&

make &&

make -j1 install &&

mv -v /usr/bin/find /bin &&

sed -i 's|find:=${BINDIR}|find:=/bin|' /usr/bin/updatedb