postinst is in pinentry-qt 1.0.0-2.
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-qt 80 \
--slave /usr/share/man/man1/pinentry.1.gz pinentry.1.gz /usr/share/man/man1/pinentry-qt.1.gz
update-alternatives --quiet \
--install /usr/bin/pinentry-x11 pinentry-x11 /usr/bin/pinentry-qt 80 \
--slave /usr/share/man/man1/pinentry-x11.1.gz pinentry-x11.1.gz /usr/share/man/man1/pinentry-qt.1.gz
fi
|