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