mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-26 04:42:04 +00:00
19 lines
440 B
Plaintext
19 lines
440 B
Plaintext
|
#! /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-text 30
|
||
|
|
||
|
#test -e /usr/bin/mkvinfo || ln -s /etc/alternatives/mkvinfo /usr/bin
|
||
|
|
||
|
#DEBHELPER#
|
||
|
|
||
|
exit 0
|