This file is indexed.

postrm is in sympow 1.023-5.

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
# postrm script for sympow
set -e
SYMPOW_PKGCACHEDIR=/var/cache/sympow
SYMPOW_PKGCACHEDATADIR=$SYMPOW_PKGCACHEDIR/datafiles

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