Ignore:
Timestamp:
Apr 23, 2003, 8:59:45 PM (19 years ago)
Author:
kake
Message:

Added note on PREREQUISITES, added Search::InvertedIndex? to prereqs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Build.pm

    r56 r57  
    44use Module::Build;
    55use base 'Module::Build';
    6 use Config::Tiny;
    7 use CGI::Wiki::Setup::Pg;
     6
     7eval "use Config::Tiny";
     8die "Config::Tiny is required to configure this application.\n" if $@;
     9
     10eval "use CGI::Wiki::Setup::Pg";
     11die "CGI::Wiki is required to set up this application.\n" if $@;
    812
    913my $config = Config::Tiny->read("wiki.conf");
     
    1115my $dbuser = $config->{_}->{dbuser};
    1216my $dbpass = $config->{_}->{dbpass};
     17my $dbhost = $config->{_}->{dbhost};
    1318
    1419sub ACTION_install {
     
    1621    $self->SUPER::ACTION_install;
    1722    print "Checking database schema...\n";
    18     CGI::Wiki::Setup::Pg::setup( $dbname, $dbuser, $dbpass );
     23    CGI::Wiki::Setup::Pg::setup( $dbname, $dbuser, $dbpass, $dbhost );
    1924}
    2025
Note: See TracChangeset for help on using the changeset viewer.