File: /var/lib/dpkg/info/plocate.postrm
#! /bin/sh
set -e
if [ "$1" = "purge" ]; then
rm -rf "/var/lib/plocate"
dpkg-statoverride --remove /usr/bin/plocate || test $? -eq 2
fi
# Automatically added by dh_installsystemd/13.6ubuntu1
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.6ubuntu1
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask 'plocate-updatedb.timer' >/dev/null || true
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'plocate-updatedb.timer' >/dev/null || true
deb-systemd-helper unmask 'plocate-updatedb.timer' >/dev/null || true
fi
fi
# End automatically added section