postinst is in xpilot-ng-client-x11 1:4.7.3-2.2ubuntu1.
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 [ "$1" = configure ]; then
# Add an alternative for xpilot and xpilot-ng
# - we prefer xpilot-ng-x11 over xpilot for 'xpilot' as it is a
# superset of xpilot functionality
update-alternatives --install /usr/games/xpilot xpilot \
/usr/games/xpilot-ng-x11 20
# - but only make x11 version "normal" priority for xpilot-ng,
# as the SDL version is expected to be better when it is
# ready
update-alternatives --install /usr/games/xpilot-ng xpilot-ng \
/usr/games/xpilot-ng-x11 10
fi
|