This file is indexed.

preinst is in siproxd 1:0.8.1-4build1.

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

set -e

if [ "$1" = upgrade -a "$2" = "0.57.snap040702-1" ]; then
	if getent passwd SIProxd > /dev/null ; then
	    echo "It's recommended you remove the user SIProxd."
	    echo "This is now deprecated and can not be automated on removal of this package"
#	    deluser SIProxd
	    perl -pi -e 's/SIProxd/siproxd/g' /etc/siproxd.conf
	fi
fi

rm -rf /var/lib/siproxd /var/run/siproxd