<descriptionformat="text/html">This package bootstraps OpenACS. If the core packages have not yet been installed, it calls the installer which leads the user through the steps necessary to do so. It also checks that the installation meets the requirements for a successful install of OpenACS.</description>
<parameterdatatype="string"min_n_values="1"max_n_values="1"name="post_installation_message"default=""description="If not blank, overrides the default post-installation message"section_name="installation"/>
<parameterscope="instance"datatype="string"min_n_values="1"max_n_values="1"name="post_installation_message"description="If not blank, overrides the default post-installation message"section_name="installation"/>
set files [glob -nocomplain "$root_directory/packages/acs-bootstrap-installer/tcl/*-procs.tcl"]
set files [lsort[glob -nocomplain "$::acs::rootdir/packages/acs-bootstrap-installer/tcl/*-procs.tcl"]]
if {[llength$files] == 0 }{
error "Unable to locate $root_directory/packages/acs-bootstrap-installer/tcl/*-procs.tcl."
error "Unable to locate $::acs::rootdir/packages/acs-bootstrap-installer/tcl/*-procs.tcl."
}
foreach file [lsort$files]{
...
...
@@ -84,7 +90,7 @@ set errno [catch {
# gauntlet thus far.
if { ![info exists database_problem]}{
set db_fn "$root_directory/packages/acs-bootstrap-installer/db-init-checks-[nsv_get ad_database_type .].tcl"
set db_fn "$::acs::rootdir/packages/acs-bootstrap-installer/db-init-checks-[nsv_get ad_database_type .].tcl"
if { ![file isfile $db_fn]}{
set database_problem "\"$db_fn\" does not exist."
}else{
...
...
@@ -102,17 +108,17 @@ set errno [catch {
# Check if the admin enabled the site-failure message, display
# it if enabled.
if {[file exists "$root_directory/www/global/site-failure.html"]}{
if {[file exists "$::acs::rootdir/www/global/site-failure.html"]}{
ns_log Notice "$proc_name: database problem found; enabling www/global/site-failure.html. Rename this html page if you want to run the installer instead."