Index: openacs-4/packages/search/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/tcl/apm-callback-procs.tcl,v diff -u -N -r1.2 -r1.3 --- openacs-4/packages/search/tcl/apm-callback-procs.tcl 13 Sep 2009 23:54:42 -0000 1.2 +++ openacs-4/packages/search/tcl/apm-callback-procs.tcl 2 Apr 2010 02:17:04 -0000 1.3 @@ -9,5 +9,13 @@ Schedule the indexer so the admin doesn't have to restart their server to get search up and running after mounting it. } { - search::init::schedule_indexer + + # DRB: Unless it is being instantiated from initial install as specified by an install.xml + # file, in which case the init file hasn't been sourced, and the user has to restart their + # server anyway ... + + if { [info procs search::init::schedule_indexer] ne "" } { + search::init::schedule_indexer + } + }