File: /var/lib/dpkg/info/sudo.prerm
#!/bin/sh
# Pre-uninstall script for sudo
# Generated by PolyPackage 1.0.0.20200814
# Remove the time stamp dir and its contents
# We currently leave the lecture status files installed
rm -rf /run/sudo/ts
set -e
# Remove the /etc/ldap/ldap.conf -> /etc/sudo-ldap.conf symlink if
# it matches what we created in the postinstall script.
if test X"" = X"ldap" -a \
X"`readlink /etc/sudo-ldap.conf 2>/dev/null`" = X"/etc/ldap/ldap.conf"; then
rm -f /etc/sudo-ldap.conf
fi
# Remove systemd tmpfile config
rm -f /usr/lib/tmpfiles.d/sudo.conf