postrm is in gosa-plugin-mail 2.7.4+reloaded2-9ubuntu1.
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
# This conffile moval fixes #714922
dpkg-maintscript-helper mv_conffile /etc/gosa/etc/sieve-discard.txt /etc/gosa/sieve-discard.txt 2.7.4-4.4 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/gosa/etc/sieve-header.txt /etc/gosa/sieve-header.txt 2.7.4-4.4 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/gosa/etc/sieve-vacation.txt /etc/gosa/sieve-vacation.txt 2.7.4-4.4 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/gosa/etc/vacation/vacation_example.txt /etc/gosa/vacation/vacation_example.txt 2.7.4-4.4 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/gosa/etc/sieve-mailsize.txt /etc/gosa/sieve-mailsize.txt 2.7.4-4.4 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/gosa/etc/sieve-spam.txt /etc/gosa/sieve-spam.txt 2.7.4-4.4 -- "$@"
if [ "$1" = "purge" ]; then
rmdir --ignore-fail-on-non-empty /etc/gosa/
fi
|