#! /bin/sh
set -e

# Create the mlocate database.
updatedb.mlocate

# Fake an initial installation of plocate, which should convert
# the mlocate database to plocate.
/var/lib/dpkg/info/plocate.postinst configure ""

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