View | Details | Raw Unified | Return to bug 8742
Collapse All | Expand All

(-)a/Makefile.PL (-2 / +3 lines)
Lines 1358-1363 sub _add_destdir { Link Here
1358
sub display_configuration {
1358
sub display_configuration {
1359
    my $config = shift;
1359
    my $config = shift;
1360
    my $dirmap = shift;
1360
    my $dirmap = shift;
1361
    my @version = grep /\/usr\/share\/perl\//, @INC;
1362
    push @version, ('/usr/share/perl/5.10') if !$version[0];
1361
    print "\n\nKoha will be installed with the following configuration parameters:\n\n";
1363
    print "\n\nKoha will be installed with the following configuration parameters:\n\n";
1362
    foreach my $key (sort keys %$config) {
1364
    foreach my $key (sort keys %$config) {
1363
        print sprintf("%-25.25s%s\n", $key, $config->{$key});
1365
        print sprintf("%-25.25s%s\n", $key, $config->{$key});
Lines 1370-1376 sub display_configuration { Link Here
1370
    print "\n\nTo change any configuration setting, please run\n";
1372
    print "\n\nTo change any configuration setting, please run\n";
1371
    print "perl Makefile.PL again.  To override one of the target\n";
1373
    print "perl Makefile.PL again.  To override one of the target\n";
1372
    print "directories, you can do so on the command line like this:\n";
1374
    print "directories, you can do so on the command line like this:\n";
1373
    print "\nperl Makefile.PL PERL_MODULE_DIR=/usr/share/perl/5.8\n\n";
1375
    print "\nperl Makefile.PL PERL_MODULE_DIR=$version[0]\n\n";
1374
    print "You can also set different default values for parameters\n";
1376
    print "You can also set different default values for parameters\n";
1375
    print "or override directory locations by using environment variables.\n";
1377
    print "or override directory locations by using environment variables.\n";
1376
    print "\nFor example:\n\n";
1378
    print "\nFor example:\n\n";
1377
- 

Return to bug 8742