postinst is in autopkgtest 5.3.1.
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 | #!/bin/sh
set -e
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl "3.9.3"; then
# If this file exists and its only content is "force-unsafe-io", then it was
# generated by #775076 and must be removed.
if [ -e /etc/dpkg/dpkg.cfg.d/autopkgtest ]; then
if [ "`cat /etc/dpkg/dpkg.cfg.d/autopkgtest`" = "force-unsafe-io" ]; then
echo "Cleaning up erroneous /etc/dpkg/dpkg.cfg.d/autopkgtest..."
rm -f /etc/dpkg/dpkg.cfg.d/autopkgtest
fi
fi
fi
|