postrm is in orville-write 2.55-3build1.
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 18 19 | #!/bin/sh -e
if [ "$1" = "remove" ]; then
# Restore normal write and mesg
dpkg-divert --package orville-write --remove --rename \
--divert /usr/bin/std-mesg /usr/bin/mesg
dpkg-divert --package orville-write --remove --rename \
--divert /usr/share/man/man1/std-mesg.1.gz /usr/share/man/man1/mesg.1.gz
fi
if [ "$1" = "purge" ]; then
rm -f /var/log/write.log
fi
# Automatically added by dh_installdebconf/11.1.6ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
|