postinst is in libpipeline-dev 1.2.1-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 14 15 16 | #! /bin/sh
set -e
if dpkg --compare-versions "$2" lt-nl 1.0.0-3; then
# Replace directory with symlink.
if [ ! -L /usr/share/doc/libpipeline-dev ] && \
[ -d /usr/share/doc/libpipeline-dev ]; then
if rmdir /usr/share/doc/libpipeline-dev 2>/dev/null; then
ln -sf libpipeline1 /usr/share/doc/libpipeline-dev
fi
fi
fi
exit 0
|