From 9db489fa0fccba1b350a1983ac128bb449d7a026 Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Mon, 26 Nov 2007 07:38:21 -0500 Subject: [PATCH] Second try:Corrected bad pathing for default Perl base dir. Default now matches Debian Perl. Signed-off-by: Joshua Ferraro --- rewrite-config.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rewrite-config.PL b/rewrite-config.PL index 9821390850..7c2fa2a7a1 100644 --- a/rewrite-config.PL +++ b/rewrite-config.PL @@ -65,13 +65,13 @@ $mydomain = $myhost; $mydomain =~ s/^.*?\.//; # This is set here to rescue systems with broken DNS $myip = $ENV{'WEBSERVER_IP'} || inet_ntoa(scalar gethostbyname($myhost||'localhost')) || die "Cannot get our own IP address: DNS fault?"; -$prefix = $ENV{'PREFIX'} || "/usr"; +$prefix = $ENV{'PREFIX'} || "/usr/local"; # These are our configuration guesses # Keys were extracted by # "",/' %configuration = ( - "__BASE_DIR__" => ($ENV{'INSTALLSITELIB'} || sprintf($prefix."/local/lib/perl/%vd",$^V))."/koha", + "__BASE_DIR__" => ($ENV{'INSTALLSITELIB'} || sprintf($prefix."/lib/perl/%vd",$^V))."/koha", # Corrected to match Debian Perl req's.... -fbcit "__CGI_DIR__" => $prefix."/lib/cgi-bin/koha", "__LOG_DIR__" => "/var/log",