HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/mlocate.postinst
#! /bin/sh
set -e

[ -f /var/lib/mlocate/mlocate.db ] && rm /var/lib/mlocate/mlocate.db

# It's OK to fail if there are other files still in /var/lib/mlocate.
set +e
[ -d /var/lib/mlocate ] && rmdir /var/lib/mlocate
set -e

# Purge the systemd timer and statoverride; copied from mlocate.postrm.
if [ -x "/usr/bin/deb-systemd-helper" ]; then
	deb-systemd-helper purge 'mlocate.timer' >/dev/null || true
	deb-systemd-helper unmask 'mlocate.timer' >/dev/null || true
fi
dpkg-statoverride --remove /usr/bin/mlocate || test $? -eq 2

# Automatically added by dh_installdeb/13.6ubuntu1
dpkg-maintscript-helper rm_conffile /etc/cron.daily/mlocate 1.1.9\~ mlocate -- "$@"
# End automatically added section