diff options
author | Dirk von Suchodoletz | 2008-12-17 17:39:51 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2008-12-17 17:39:51 +0100 |
commit | e335b2132f6c9508861c01cda50ce8734b872b4e (patch) | |
tree | c51828ae7eb73b34af8deec0fbe2e8ecfdf2b617 /os-plugins/plugins/x11vnc/OpenSLX/OSPlugin | |
parent | More general location of helper functions (to check if a certain (diff) | |
download | core-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.pm | 6 |
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"); } |