#! /bin/sh
set -e

# Create the mlocate database.
updatedb.mlocate

# Install plocate, which should convert the mlocate database to plocate
# (and remove mlocate).
apt-get -y install plocate

# Now we should be able to find something.
plocate bin/sh | grep -q bin/sh
