postrm is in sympow 1.023-8.
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 20 21 22 | #!/bin/sh
# postrm script for sympow
set -e
SYMPOW_PKGCACHEDIR=/var/cache/sympow
SYMPOW_PKGCACHEDATADIR=$SYMPOW_PKGCACHEDIR/datafiles
# Automatically added by dh_installdeb
dpkg-maintscript-helper dir_to_symlink /usr/share/doc/sympow /usr/share/doc/sympow-data 1.023-6~ -- "$@"
# End automatically added section
case "${1}" in
purge)
if [ -d $SYMPOW_PKGCACHEDATADIR ]; then
rmdir --ignore-fail-on-non-empty $SYMPOW_PKGCACHEDATADIR
fi
if [ -d $SYMPOW_PKGCACHEDIR ]; then
rmdir --ignore-fail-on-non-empty $SYMPOW_PKGCACHEDIR
fi
;;
*)
;;
esac
exit 0
|