postrm is in jailer 0.4-17.1.
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 | #!/bin/sh
set -e
if $(dpkg-divert --list /etc/init.d/bind.jailer | grep -q "by jailer"); then
dpkg-divert --package jailer --remove --rename \
--divert /etc/init.d/bind.jailer /etc/init.d/bind
fi
if $(dpkg-divert --list /etc/init.d/ntp.jailer | grep -q "by jailer"); then
dpkg-divert --package jailer --remove --rename \
--divert /etc/init.d/ntp.jailer /etc/init.d/ntp
fi
|