postinst is in mkvtoolnix-gui 19.0.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 13 14 15 16 17 18 | #! /bin/sh
set -e
if test -e /usr/bin/mkvinfo && ! test -L /usr/bin/mkvinfo; then
echo "Error. /usr/bin/mkvinfo is not a symlink. This is a bug in "
echo "the mkvtoolnix package or you installed a binary in /usr/bin/mkvinfo."
echo "Aborting."
exit 1
fi
update-alternatives --install /usr/bin/mkvinfo mkvinfo /usr/bin/mkvinfo-gui 40
#test -e /usr/bin/mkvinfo || ln -s /etc/alternatives/mkvinfo /usr/bin
exit 0
|