1 |
diff -up smeserver-ocsinventory-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs.tempalteerror smeserver-ocsinventory-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs |
2 |
--- smeserver-ocsinventory-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs.tempalteerror 2013-12-15 13:16:47.000000000 -0500 |
3 |
+++ smeserver-ocsinventory-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97ocs 2013-12-15 13:21:47.000000000 -0500 |
4 |
@@ -64,7 +64,7 @@ Alias /ocs /usr/share/ocsinventory- |
5 |
# For mod_perl > 1.999_21, replace VERSION_MP by 2 |
6 |
{ |
7 |
my $version = 'unknown'; |
8 |
- my $modPerl = `rpm -q mod_perl`; |
9 |
+ my $modPerl = `/bin/rpm -q mod_perl`; |
10 |
$modPerl =~ /^mod_perl-(\d*)/; |
11 |
$version = $1; |
12 |
if ($version =~ /^1/){ |