Added Perl 5.20 and higher support to pandora_agent_installer
(cherry picked from commit e15b9ddbfb
)
This commit is contained in:
parent
c45206f269
commit
b912f5262e
|
@ -89,7 +89,7 @@ fi
|
||||||
[ "$4" ] && PANDORA_PERL_PATH=$4
|
[ "$4" ] && PANDORA_PERL_PATH=$4
|
||||||
|
|
||||||
# Check for Perl 5.6.x or higher available
|
# Check for Perl 5.6.x or higher available
|
||||||
PERL_VERSION=`$PANDORA_PERL_PATH -v | egrep 'v5.6|v5.7|v5.8|v5.9|v5.1[0-9]' | grep perl`
|
PERL_VERSION=`$PANDORA_PERL_PATH -v | egrep 'v5.[6-9]|v5.[12][0-9]' | grep perl`
|
||||||
|
|
||||||
if [ -z "$PERL_VERSION" ]
|
if [ -z "$PERL_VERSION" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue