KasmVNC/contrib/packages/deb/ubuntu-trusty/debian/xtigervncviewer.postinst

19 lines
481 B
Plaintext
Raw Normal View History

2020-09-20 14:16:44 +02:00
#!/bin/sh -e
if [ "$1" = "configure" ]; then
MAN=/usr/share/man/man1
BIN=/usr/bin
update-alternatives --install \
$BIN/vncviewer vncviewer $BIN/xtigervncviewer 74 \
--slave \
$MAN/vncviewer.1.gz vncviewer.1.gz $MAN/xtigervncviewer.1.gz \
--slave \
$MAN/xvncviewer.1.gz xvncviewer.1.gz $MAN/xtigervncviewer.1.gz \
--slave \
$BIN/xvncviewer xvncviewer $BIN/xtigervncviewer
fi
#DEBHELPER#
exit 0