diff options
author | Dirk von Suchodoletz | 2008-12-17 17:04:54 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2008-12-17 17:04:54 +0100 |
commit | 707eb1cdaef84318f7a464fef94fff26d09d2514 (patch) | |
tree | 827d85efbc4851e159870f31a37be0374a700cff /os-plugins/plugins/x11vnc/OpenSLX/Distro | |
parent | Adding missing libraries as reported on the list. (diff) | |
download | core-707eb1cdaef84318f7a464fef94fff26d09d2514.tar.gz core-707eb1cdaef84318f7a464fef94fff26d09d2514.tar.xz core-707eb1cdaef84318f7a464fef94fff26d09d2514.zip |
More general location of helper functions (to check if a certain
binary is installed somewhere).
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2426 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/x11vnc/OpenSLX/Distro')
-rw-r--r-- | os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm b/os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm index 11f0b2e5..93f1a3eb 100644 --- a/os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm +++ b/os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm @@ -89,24 +89,6 @@ sub fillRunlevelScript return $script; } -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 isX11vncInstalled { my $self = shift; |