diff options
author | Sebastian Schmelzer | 2008-12-17 20:14:03 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2008-12-17 20:14:03 +0100 |
commit | 8b7c2434d0555d86cd505b25b4839a7cb1a2940f (patch) | |
tree | 53d26cf39dd90b5a6fefb119a08f2452007382b2 /os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm | |
parent | Further simplification for certain plugin actions (hopefully) ... (diff) | |
download | core-8b7c2434d0555d86cd505b25b4839a7cb1a2940f.tar.gz core-8b7c2434d0555d86cd505b25b4839a7cb1a2940f.tar.xz core-8b7c2434d0555d86cd505b25b4839a7cb1a2940f.zip |
* fix (hopefully)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2429 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm')
-rw-r--r-- | os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm index b8e966b8..9184733f 100644 --- a/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm @@ -46,9 +46,9 @@ sub getDefaultDesktopManager my $self = shift; # the default implementation prefers GDM over KDM over XDM - return $self->isPackInstalled('gdm') ? 'gdm' - : $self->isPackInstalled('kdm') ? 'kdm' - : $self->isPackInstalled('xdm') ? 'xdm' : undef; + return isPackInstalled('gdm') ? 'gdm' + : isPackInstalled('kdm') ? 'kdm' + : isPackInstalled('xdm') ? 'xdm' : undef; } sub getDefaultDesktopKind @@ -56,9 +56,9 @@ sub getDefaultDesktopKind my $self = shift; # the default implementation prefers GNOME over KDE over XFCE - return $self->isPackInstalled('gnome-session') ? 'gnome' - : $self->isPackInstalled('startkde') ? 'kde' - : $self->isPackInstalled('startxfce') ? 'xfce' : undef; + return isPackInstalled('gnome-session') ? 'gnome' + : isPackInstalled('startkde') ? 'kde' + : isPackInstalled('startxfce') ? 'xfce' : undef; } sub installGNOME |