mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Added Perl 5.20 and higher support to pandora_agent_installer
(cherry picked from commit e15b9ddbfb0fb20cd2388c289a4abe2ead004d7a)
This commit is contained in:
parent
c45206f269
commit
b912f5262e
@ -89,7 +89,7 @@ fi
|
||||
[ "$4" ] && PANDORA_PERL_PATH=$4
|
||||
|
||||
# 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" ]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user