preinst is in libmono-addins-gui0.2-cil 1.0+git20130406.adcd75b-4.
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 | #!/bin/sh
set -e
# policy files that were not removed in 0.3~svn.r90520-1 to 0.3-1 upgrade
# see http://bugs.debian.org/547137
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" "<=" "0.3-2"; then
if [ -f /usr/share/cli-common/packages.d/policy.0.2.Mono.Addins.Gui.installcligac ]; then
echo "Removing forgotten GAC policy file: Mono.Addins.Gui 0.2..."
/usr/share/cli-common/policy-remove Mono.Addins.Gui 0.2 > /dev/null
fi
fi
|