aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/deb/ubuntu-jammy/debian/tigervncserver.prerm
blob: 2e8e77c487634b19cec1e4e5d1ec0c7d8baf6e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

if [ "$1" = "remove" ] ; then
    BIN=/usr/bin
    SBIN=/usr/sbin
    update-alternatives --remove \
       vncsession $SBIN/tigervncsession
    update-alternatives --remove \
       Xvnc $BIN/Xtigervnc
    update-alternatives --remove \
       x0vncserver $BIN/x0tigervncserver
    update-alternatives --remove \
       vncpasswd $BIN/tigervncpasswd
    update-alternatives --remove \
       tigervncconfig $BIN/tigervncconfig
fi

#DEBHELPER#

exit 0