postinst is in idzebra-2.0-utils 2.0.59-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 13 14 15 16 17 | #!/bin/sh
set -e
if [ "$1" = configure ]; then
update-alternatives --quiet --install /usr/bin/zebraidx zebraidx \
/usr/bin/zebraidx-2.0 50 \
--slave /usr/share/man/man1/zebraidx.1.gz zebraidx.1.gz \
/usr/share/man/man1/zebraidx-2.0.1.gz
update-alternatives --quiet --install /usr/bin/zebrasrv zebrasrv \
/usr/bin/zebrasrv-2.0 50 \
--slave /usr/share/man/man8/zebrasrv.8.gz zebrasrv.8.gz \
/usr/share/man/man8/zebrasrv-2.0.8.gz
fi
|