postinst is in mkvtoolnix-gui 7.3.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 19 20 21 22 23 | #! /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
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
exit 0
|