Corrected bad pathing for default Perl base dir. Default now matches Debian Perl.
authorChris Nighswonger <cnighswonger@foundations.edu>
Wed, 21 Nov 2007 19:22:23 +0000 (14:22 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 22 Nov 2007 00:07:12 +0000 (18:07 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>

rewrite-config.PL

index 034aec2..9821390 100644 (file)
@@ -71,7 +71,8 @@ $prefix = $ENV{'PREFIX'} || "/usr";
 # Keys were extracted by
 # <grep -o '__.*__' etc/* | cut -f2 -d: | sort -u | sed -e 's/^/  "/;s/$/" => "",/'
 %configuration = (
-  "__BASE_DIR__" => ($ENV{'INSTALLSITELIB'} || sprintf($prefix."/lib/perl5/site_perl/%vd",$^V))."/koha",
+  "__BASE_DIR__" => ($ENV{'INSTALLSITELIB'} || sprintf($prefix."/local/lib/perl/%vd",$^V))."/koha",
+  # Corrected to match Debian Perl req's.... -fbcit
   "__CGI_DIR__" => $prefix."/lib/cgi-bin/koha",
   "__LOG_DIR__" => "/var/log",
   "__DB_TYPE__" => "mysql",