# Exit on error:
set -e

wget http://ftpmirror.gnu.org/findutils/findutils-4.4.2.tar.gz
tar xf findutils-4.4.2.tar.gz
cd findutils-4.4.2.tar.gz

./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/locate \
    --localstatedir=/var/lib/locate

make
make install

cd ..
exit 0
