This file is indexed.

prerm 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
20
#!/bin/sh
# prerm script for sympow
set -e
SYMPOW=/usr/bin/sympow
ENDIANTUPLE=$($SYMPOW -dump-endiantuple)
SYMPOW_PKGCACHEDIR=/var/cache/sympow
SYMPOW_PKGCACHEDATADIR=$SYMPOW_PKGCACHEDIR/datafiles
SYMPOW_PKGCACHEDATABINDIR=$SYMPOW_PKGCACHEDATADIR/$ENDIANTUPLE
case "${1}" in
	remove)
    if [ -d $SYMPOW_PKGCACHEDATABINDIR ]; then
			rm -f $SYMPOW_PKGCACHEDATABINDIR/*.bin
			rmdir --ignore-fail-on-non-empty $SYMPOW_PKGCACHEDATABINDIR
		fi
		;;
	*)
		;;
esac

exit 0