diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2008-11-03 19:59:24 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2008-11-05 09:12:02 -0200 |
commit | e90881203cfc9def8106a1c68f9a6f05fb4895b7 (patch) | |
tree | cc8ee1c481e23b8fead10623bf0becbb82dc2b36 | |
parent | c1401f7b1857e4dc00be14ce7d1aafd712ff5750 (diff) |
tightvnc: provide vncviewer alternative to provide more flexibility
-rw-r--r-- | packages/vnc/tightvnc_1.3.9.bb | 11 |
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 +} |