summarylogtreecommitdiffstats
path: root/realvnc-vnc-server.install
blob: 5a3c6251f9cfd857e8f159716b6796c63868e434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    vncinitconfig --install-defaults
    echo 'To use VNC Connect, visit https://www.realvnc.com/en/products/vnc/#licensing for a subscription.'
}

post_remove() {
    rm -fv /usr/bin/vncserver
    rm -fv /etc/pam.d/vncserver
    rm -fv /etc/vnc/config
    rm -fv /etc/vnc/xstartup
    rm -fv /etc/vnc/get_primary_ip4
    rm -fv /etc/vnc/vncelevate
    rm -fv /etc/vnc/vncelevatecfg
}