postinst is in pentium-builder 0.19.
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 17 18 | #!/bin/sh -e
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a -h /usr/doc/pentium-builder -a -d /usr/share/doc/pentium-builder ]; then
rm -f /usr/doc/pentium-builder
fi
fi
# Old cruft
dpkg-divert --rename --remove /usr/bin/c++
update-alternatives --install /usr/bin/cc cc /usr/bin/builder-cc 100 \
--slave /usr/share/man/man1/cc.1.gz cc.1.gz /usr/share/man/man1/gcc.1.gz
update-alternatives --install /usr/bin/c++ c++ /usr/bin/builder-c++ 100 \
--slave /usr/share/man/man1/c++.1.gz c++.1.gz /usr/share/man/man1/g++.1.gz
|