summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/x11vnc/OpenSLX/OSPlugin
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-12-17 17:39:51 +0100
committerDirk von Suchodoletz2008-12-17 17:39:51 +0100
commite335b2132f6c9508861c01cda50ce8734b872b4e (patch)
treec51828ae7eb73b34af8deec0fbe2e8ecfdf2b617 /os-plugins/plugins/x11vnc/OpenSLX/OSPlugin
parentMore general location of helper functions (to check if a certain (diff)
downloadcore-e335b2132f6c9508861c01cda50ce8734b872b4e.tar.gz
core-e335b2132f6c9508861c01cda50ce8734b872b4e.tar.xz
core-e335b2132f6c9508861c01cda50ce8734b872b4e.zip
Trying to simplify stuff in plugins (checks if a certain package
is installed and installing ...) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2427 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/x11vnc/OpenSLX/OSPlugin')
-rw-r--r--os-plugins/plugins/x11vnc/OpenSLX/OSPlugin/x11vnc.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/os-plugins/plugins/x11vnc/OpenSLX/OSPlugin/x11vnc.pm b/os-plugins/plugins/x11vnc/OpenSLX/OSPlugin/x11vnc.pm
index e73ea8a3..716cc3f7 100644
--- a/os-plugins/plugins/x11vnc/OpenSLX/OSPlugin/x11vnc.pm
+++ b/os-plugins/plugins/x11vnc/OpenSLX/OSPlugin/x11vnc.pm
@@ -189,8 +189,10 @@ sub installationPhase
# should we distinguish between the two different packages!?
# libvnc should be part of the xorg package!? (so no check needed)
- if (!$self->{distro}->isX11vncInstalled()) {
- $self->{distro}->installX11vnc();
+ if (!$self->{distro}->isPackInstalled('x11vnc')) {
+ $self->{distro}->installPackages(
+ $self->{engine}->getInstallablePackagesForSelection('x11vnc')
+ );
} else {
vlog(3, "x11vnc is already installed");
}