From 707eb1cdaef84318f7a464fef94fff26d09d2514 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 17 Dec 2008 16:04:54 +0000 Subject: 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 --- os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'os-plugins/plugins/x11vnc/OpenSLX/Distro/Base.pm') 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; -- cgit v1.2.3-55-g7522