This file is indexed.

prerm 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
23
#!/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
# 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

exit 0