summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/vnc/tightvnc_1.3.9.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/packages/vnc/tightvnc_1.3.9.bb b/packages/vnc/tightvnc_1.3.9.bb
index ec6a7057d9..3f11763fad 100644
--- a/packages/vnc/tightvnc_1.3.9.bb
+++ b/packages/vnc/tightvnc_1.3.9.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.tightvnc.com/"
DEPENDS = "virtual/libx11 zlib libxmu libxaw"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/vnc-tight/${PN}-${PV}_unixsrc.tar.gz \
file://Makefile"
@@ -23,3 +23,12 @@ do_install () {
install -d ${D}${bindir}
install ${PN}viewer ${D}${bindir}
}
+
+pkg_postinst_${PN}-viewer () {
+ update-alternatives --install ${bindir}/vncviewer vncviewer tightvncviewer 100
+}
+
+
+pkg_prerm_${PN}-viewer () {
+ update-alternatives --remove ${bindir}/vncviewer vncviewer tightvncviewer 100
+}