This file is indexed.

prerm is in libpetsc3.6.2-dbg 3.6.2.dfsg1-3ubuntu1.

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
24
25
#!/bin/sh -e

DEB_HOST_MULTIARCH=x86_64-linux-gnu

PETSC_VERSION=3.6.2
PETSC_ARCH=${DEB_HOST_MULTIARCH}
PETSC_DEBUG_ARCH=${PETSC_ARCH}-real-debug

# Remove alternatives links
if [ "$1" = "remove" ]; then
  update-alternatives --remove petsc /usr/lib/petscdir/${PETSC_VERSION}/${PETSC_DEBUG_ARCH}
fi


# Automatically added by dhpython:
if which pyclean >/dev/null 2>&1; then
	pyclean -p libpetsc3.6.2-dbg 
else
	dpkg -L libpetsc3.6.2-dbg | grep \.py$ | while read file
	do
		rm -f "${file}"[co] >/dev/null
  	done
fi

# End automatically added section