Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (25 sloc) 0.752 kb
#!/usr/bin/perl -w
=head1 Name - installation script to launch the apropriate database instalation script
=head1 Description
This script is called during C<make install> to install the Bricolage
=head1 Author
Sam Tregar <>
=head1 See Also
use strict;
use FindBin;
use lib "$FindBin::Bin/lib";
use Bric::Inst qw(:all);
use File::Spec::Functions qw(:ALL);
use File::Find qw(find);
our ($DB, $DBCONF);
print "\n\n==> Creating Bricolage Database <==\n\n";
$DBCONF = './database.db';
do $DBCONF or die "Failed to read $DBCONF : $!";
my $instdb;
$instdb = "./inst/dbload_$DB->{db_type}.pl";
do $instdb or die "Failed to launch $DB->{db_type} database loading script ($instdb)";
exit 0;
Jump to Line
Something went wrong with that request. Please try again.