Changeset 25676 for main/trunk


Ignore:
Timestamp:
2012-05-25T15:51:52+12:00 (12 years ago)
Author:
ak19
Message:

Added a check for activation having succeeded (where activation was necessary).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/activate.pl

    r25675 r25676  
    629629                    &print_msg("Activating collection $qualified_collection\n");
    630630                    &activate_collection($library_url, $gs_mode, $qualified_collection, $site);
     631                   
     632                    # unless an error occurred, the collection should now be active:
     633                    $collection_active = &ping_library_collection($library_url, $gs_mode, $qualified_collection, $site);
     634                    if(!$collection_active) {
     635                        &print_msg("ERROR: collection $qualified_collection did not get activated\n");
     636                    }
    631637                    }
    632638                }
     
    637643        &print_msg("Building directory is not empty or still exists. Failed to properly move $build_dir to $index_dir.\n");
    638644    }
     645
     646    &print_msg("\n");
    639647}
    640648
Note: See TracChangeset for help on using the changeset viewer.