From 09d5d9b1b89e45d2b0de0e4e7a38a8f8078f8c7b Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 23 Apr 2015 13:08:25 -0300 Subject: Sanitize version prepare dependencies and uses for ports apache-mod_security and apache-mod_security-devel --- config/apache_mod_security-dev/apache_mod_security.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/apache_mod_security-dev/apache_mod_security.inc b/config/apache_mod_security-dev/apache_mod_security.inc index 1ef78819..72c1f9b4 100644 --- a/config/apache_mod_security-dev/apache_mod_security.inc +++ b/config/apache_mod_security-dev/apache_mod_security.inc @@ -34,7 +34,7 @@ require_once("service-utils.inc"); $shortcut_section = "apache"; // Check to find out on which system the package is running $pf_version=substr(trim(file_get_contents("/etc/version")),0,3); -if ($pf_version > 2.0) +if ($pf_version == "2.1" || $pf_version == "2.2") define('APACHEDIR', '/usr/pbi/proxy_mod_security-' . php_uname("m")); else define('APACHEDIR', '/usr/local'); -- cgit v1.2.3