Index: openacs-4/etc/install/checkout.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/install/checkout.sh,v diff -u -r1.10 -r1.11 --- openacs-4/etc/install/checkout.sh 4 Nov 2003 14:39:04 -0000 1.10 +++ openacs-4/etc/install/checkout.sh 4 Nov 2003 15:36:17 -0000 1.11 @@ -30,6 +30,7 @@ serverroot=`get_config_param serverroot` aolserver_user=`get_config_param aolserver_user` aolserver_group=`get_config_param aolserver_group` +packages_list=`get_config_param packages_list` echo "$0: Starting checkout for server path $serverroot with config_file $config_file and dotlrn=$dotlrn" @@ -63,10 +64,19 @@ mv ${serverroot}-tmp/openacs-4 ${serverroot} rmdir ${serverroot}-tmp +cd ${serverroot}/packages + +if [ -n "$packages_list" ]; then + # Checkout additional packages (modules) + for package in $packages_list + do + cvs -q -z3 -d :pserver:anonymous@openacs.org:/cvsroot checkout $oacs_branch_switch $package + done +fi + if [ $dotlrn == "yes" ]; then # Checkout needed packages echo "$0: Checking out packages from branch $oacs_branch" - cd ${serverroot}/packages cvs -q -z3 -d :pserver:anonymous@openacs.org:/cvsroot co $oacs_branch_switch dotlrn-prereq # Checkout .LRN Index: openacs-4/etc/install/install.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/install/install.sh,v diff -u -r1.23 -r1.24 --- openacs-4/etc/install/install.sh 4 Nov 2003 14:39:04 -0000 1.23 +++ openacs-4/etc/install/install.sh 4 Nov 2003 15:36:17 -0000 1.24 @@ -170,6 +170,7 @@ admin_email=`get_config_param admin_email` admin_password=`get_config_param admin_password` aolserver_config_file=`get_config_param aolserver_config_file` +install_xml_file=`get_config_param install_xml_file` # If pre/post checkout scripts have been provided, check that they can # be executed @@ -328,6 +329,9 @@ if [ $dotlrn == "yes" ]; then # Make sure the dotlrn/install.xml file is at the server root cp $serverroot/packages/dotlrn/install.xml $serverroot + elif [ -n "$install_xml_file" ]; then + # Copy specified install.xml file + cp ${install_xml_file} $serverroot fi # Install OpenACS