postinst is in cython-dbg 0.20.1+git90-g0e6e38e-1ubuntu2.
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/sh
set -e
## https://wiki.debian.org/MissingCopyrightFile
## Replace documentation directory with symlink
docdir="/usr/share/doc/cython"
if [ -d "${docdir}-dbg" ] && [ ! -h "${docdir}-dbg" ]; then
rmdir "${docdir}-dbg" 2>/dev/null \
&& ln -sf "${docdir}" "${docdir}-dbg" \
|| echo "W: Unable to remove \"${docdir}-dbg\" -- not empty?"
fi
|