This file is indexed.

postrm is in ssl-cert 1.0.33.

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
26
27
28
29
30
31
32
33
34
#!/bin/sh -e

if [ "$1" = purge ] ; then
	rm -f /etc/ssl/certs/ssl-cert-snakeoil.pem \
	      /etc/ssl/certs/ssl-cert-snakeoil.pem.broken \
              /etc/ssl/private/ssl-cert-snakeoil.key \
	      /etc/ssl/private/ssl-cert-snakeoil.key.broken

	# remove hash symlink
	find /etc/ssl/certs -maxdepth 1 -lname ssl-cert-snakeoil.pem -delete > /dev/null 2>&1 || true

	if dpkg-statoverride --list /etc/ssl/private 2>&1 | grep -q "root ssl-cert 710"
	then
		dpkg-statoverride --remove /etc/ssl/private
		# /etc/ssl/private is also in package openssl, change permissions back
		# if not
		if [ -e /etc/ssl/private ] ; then
			chgrp root /etc/ssl/private
			chmod 700 /etc/ssl/private
				
		fi
	fi
	# if openssl conffiles are not there (i.e purged), try to delete dirs
	if [ ! -e /etc/ssl/openssl.cnf ] ; then
		rmdir /etc/ssl/private /etc/ssl/certs /etc/ssl 2> /dev/null || true
	fi
fi

# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section