postinst is in cython-dbg 0.23.4-0ubuntu5.
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
|