postinst is in pinentry-gtk2 1.1.0-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 | #! /bin/sh
set -e
if [ "$1" = configure ]; then
update-alternatives --quiet \
--install /usr/bin/pinentry pinentry /usr/bin/pinentry-gtk-2 85 \
--slave /usr/share/man/man1/pinentry.1.gz pinentry.1.gz /usr/share/man/man1/pinentry-gtk-2.1.gz
update-alternatives --quiet \
--install /usr/bin/pinentry-x11 pinentry-x11 /usr/bin/pinentry-gtk-2 85 \
--slave /usr/share/man/man1/pinentry-x11.1.gz pinentry-x11.1.gz /usr/share/man/man1/pinentry-gtk-2.1.gz
fi
|