Bug 7298: (follow-up) fix uninitialized variable warning
[koha.git] / installer / install.pl
index 460a0c0..58388cb 100755 (executable)
@@ -189,7 +189,6 @@ elsif ( $step && $step == 3 ) {
     }
     elsif ( $op && $op eq 'finish' ) {
         $installer->set_version_syspref();
-        $installer->set_indexing_engine(0); # use Zebra
 
         # Installation is finished.
         # We just deny anybody access to install
@@ -317,7 +316,7 @@ elsif ( $step && $step == 3 ) {
         my $find = "C4/Context.pm";
         my $path = $INC{$find};
         $path =~ s/\Q$find\E//;
-        $ENV{PERL5LIB} = $path;
+        $ENV{PERL5LIB} = "$path:$path/installer";
         warn "# plack? inserted PERL5LIB $ENV{PERL5LIB}\n";
     }