diff options
Diffstat (limited to 'chapter8/findutils.sh')
-rw-r--r-- | chapter8/findutils.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter8/findutils.sh b/chapter8/findutils.sh new file mode 100644 index 0000000..b058eea --- /dev/null +++ b/chapter8/findutils.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +./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 |