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/desktop/OpenSLX/Distro/Base.pm | |
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/desktop/OpenSLX/Distro/Base.pm')
-rw-r--r-- | os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm b/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm index 61e278cf..962fb3db 100644 --- a/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/desktop/OpenSLX/Distro/Base.pm @@ -41,24 +41,6 @@ sub initialize return 1; } -sub pathOf -{ - my $self = shift; - my $binary = shift; - - return qx{which $binary 2>/dev/null}; -} - -sub isInPath -{ - my $self = shift; - my $binary = shift; - - my $path = $self->pathOf($binary); - - return $path ? 1 : 0; -} - sub getDefaultDesktopManager { my $self = shift; |