Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21561
Modified Files:
InstallPackageStructure.pm
Log Message:
OIN-134: fix bug when passing empty files to restrict by
Index: InstallPackageStructure.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Manage/Website/InstallPackageStructure.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** InstallPackageStructure.pm 26 Feb 2005 04:17:54 -0000 1.13
--- InstallPackageStructure.pm 26 Feb 2005 22:49:05 -0000 1.14
***************
*** 46,50 ****
$action, $repository, $package_name );
next PACKAGE unless ( $installer );
! $installer->install_structure( $self->param( 'file' ) );
my @install_status = $installer->get_status;
for ( @install_status ) {
--- 46,51 ----
$action, $repository, $package_name );
next PACKAGE unless ( $installer );
! my @restrict_to = grep { $_ } $self->param( 'file' );
! $installer->install_structure( @restrict_to );
my @install_status = $installer->get_status;
for ( @install_status ) {
|