postinst is in libshhmsg1-dev 1.4.2-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 | #!/bin/bash
# use bash explicitly because the DEBHELPER part uses 'command -v'
set -e
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a -h /usr/doc/libshhmsg1-dev -a -d /usr/share/doc/libshhmsg1-dev ]; then
rm -f /usr/doc/libshhmsg1-dev
fi
fi
exit 0
|