From: Chris W. <la...@us...> - 2005-02-08 01:44:20
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29594/lib/OpenInteract2/Manage/Website Modified Files: Upgrade.pm Log Message: move the file copy status up to OI2::Manage Index: Upgrade.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website/Upgrade.pm,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Upgrade.pm 2 Feb 2005 16:16:52 -0000 1.16 --- Upgrade.pm 8 Feb 2005 01:44:06 -0000 1.17 *************** *** 50,74 **** my $brick = OpenInteract2::Brick->new( 'widgets' ); my $status = $brick->copy_all_resources_to( $website_dir ); ! foreach my $file ( @{ $status->{copied} } ) { ! $self->_ok( ! 'copy updated template files', ! "File $file copied", ! filename => $file ! ); ! } ! foreach my $file ( @{ $status->{skipped} } ) { ! $self->_ok( ! 'copy updated template files', ! "File $file skipped, marked as read-only", ! filename => $file ! ); ! } ! foreach my $file ( @{ $status->{same} } ) { ! $self->_ok( ! 'copy updated template files', ! "File $file skipped, source and destination same", ! filename => $file ! ); ! } $self->notify_observers( progress => 'Widget copy complete' ); } --- 50,54 ---- my $brick = OpenInteract2::Brick->new( 'widgets' ); my $status = $brick->copy_all_resources_to( $website_dir ); ! $self->_set_file_copy_status( $status ); $self->notify_observers( progress => 'Widget copy complete' ); } |