|
From: Chris W. <la...@us...> - 2001-11-28 15:21:32
|
Update of /cvsroot/openinteract/OpenInteract/script
In directory usw-pr-cvs1:/tmp/cvs-serv2433
Modified Files:
oi_manage
Log Message:
ensure everything that needs it creates the temporary lib directory
Index: oi_manage
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/script/oi_manage,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** oi_manage 2001/11/28 06:00:20 1.54
--- oi_manage 2001/11/28 15:21:28 1.55
***************
*** 2014,2017 ****
--- 2014,2020 ----
website_dir => $p->{website_dir},
action => 'install SQL' });
+ my $base_config = OpenInteract::Startup->read_base_config({
+ website_dir => $p->{website_dir} });
+ OpenInteract::Startup->create_temp_lib( $base_config );
# Grab the repository and existing packages
***************
*** 2367,2371 ****
my ( $p ) = @_;
my $R = initialize_request({ website_dir => $p->{website_dir},
! action => 'dump templates' });
my $TMPL_CLASS = $R->site_template;
my @status = ();
--- 2370,2374 ----
my ( $p ) = @_;
my $R = initialize_request({ website_dir => $p->{website_dir},
! action => 'dump templates' });
my $TMPL_CLASS = $R->site_template;
my @status = ();
***************
*** 2493,2500 ****
sub update_objects {
my ( $p ) = @_;
! my $R = OpenInteract::Startup->setup_static_environment( $p->{website_dir} );
! unless ( $R ) {
! die "Cannot create OpenInteract environment! (Database error?)\n";
! }
my $object_tag = $p->{object_tag};
my $class = $R->$object_tag();
--- 2496,2501 ----
sub update_objects {
my ( $p ) = @_;
! my $R = initialize_request({ website_dir => $p->{website_dir},
! action => 'update objects' });
my $object_tag = $p->{object_tag};
my $class = $R->$object_tag();
|