Détection du 64 bits sur le chemin complet

tags/ipasserelle-groupware-0.2.37-1
Daniel Berteaud 13 years ago
parent c423ec1156
commit 97850b2f4b
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess

@ -2,7 +2,7 @@
{ {
$sogoStatus = $sogod{'status'} || "disabled"; $sogoStatus = $sogod{'status'} || "disabled";
$webmailStatus = $imp{'status'} || "disabled"; $webmailStatus = $imp{'status'} || "disabled";
my $lib = ( -d '/usr/lib64' ) ? 'lib64':'lib'; my $lib = ( -d '/usr/lib64/GNUstep/SOGo/WebServerResources' ) ? 'lib64':'lib';
$style = $sogod{'WebServerResources'} || '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/'; $style = $sogod{'WebServerResources'} || '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/';
$style = '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/' unless ( -d $style); $style = '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/' unless ( -d $style);
$style =~ s#$#/# unless ( $style =~ m#/$# ); $style =~ s#$#/# unless ( $style =~ m#/$# );

Loading…
Cancel
Save