prerm is in freeradius-common 2.2.8+dfsg-0.1build2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
set -e
case "$1" in
remove)
for file in /etc/freeradius/radiusd.conf /etc/freeradius/dictionary; do
if dpkg-statoverride --list $file >/dev/null; then
dpkg-statoverride --remove $file
fi
done
if dpkg-statoverride --list /etc/freeradius >/dev/null; then
dpkg-statoverride --remove /etc/freeradius
fi
;;
esac
|