postinst is in erlang-manpages 1:14.b.4-dfsg-1ubuntu1.
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 19 20 21 22 | #! /bin/sh
# postinst script for erlang-manpages
#
# see: dh_installdeb(1)
set -e
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl "1:12.b.1" ; then
for name in dialyzer \
epmd \
erl \
erl_call \
erlc \
escript \
run_erl \
start \
start_webtool ; do
dpkg-divert --package erlang-manpages --remove --rename \
--divert /usr/share/man/man1/$name.erlang.1.gz \
/usr/share/man/man1/$name.1.gz >/dev/null
done
fi
|