mkvtoolnix/debian-upstream/mkvtoolnix-gui.postinst
Moritz Bunkus d32639b1d5 Renamed the "debian" directory to "debian-upstream"
Bug 329 asks for this rename as it makes the life of
the official Debian/Ubuntu package maintainers easier
(and the job of the folks reviewing the packages as
well).
2009-01-21 13:42:29 +01:00

19 lines
439 B
Bash

#! /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
#DEBHELPER#
exit 0