&version 2
&trace off
&print 
&print This is Part 2 of the automated installation of Multics
&print Release MR12.4. This part of the installation is  responsible
&print for updating the hardcore and standard source/object libraries.
&print This part is also responsible for updating the unbundled executable,
&print source and unbundled libraries for products you are authorized to 
&print receive that were changed for this release. 
&print
&print Before continuing check that proper access has been set, 
&print that there is enough quota to complete the installation 
&print and that the software to be installed has been loaded 
&print into the sub-directories as shipped. If quota is a 
&print problem, load only one directory out at a time 
&print running this exec com as many times as needed until the 
&print entire installation is complete.
&-
&label DO_STAN
&if [query "Do you want to install the online source and object library updates?"] 
&then &else &goto DO_FORT
cwd [wd]>12.4.LDD
ec install_ldd
cwd <
&-
&label DO_FORT
&if [not [exists dir 12.4.FORTRAN]] &then &goto DO_COBOL
&if [query "Do you want to install the fortran updates?"] 
&then &else &goto DO_COBOL
cwd [wd]>12.4.FORTRAN
ec install_fortran
cwd <
&-
&label DO_COBOL
&if [not [exists dir 12.4.COBOL]] &then &goto DO_RJE
&if [query "Do you want to install the cobol updates?"] 
&then &else &goto DO_RJE
cwd [wd]>12.4.COBOL
ec install_cobol
cwd <
&-
&label DO_RJE
&if [not [exists dir 12.4.RJE]] &then &goto DO_C_COMPILER
&if [query "Do you want to install the rje updates?"] 
&then &else &goto DO_C_COMPILER
cwd [wd]>12.4.RJE
ec install_rje
cwd <
&-
&label DO_C_COMPILER
&if [not [exists dir 12.4.C_COMPILER]] &then &goto DO_PASCAL
&if [query "Do you want to install the C Compiler updates?"] 
&then &else &goto DO_PASCAL
cwd [wd]>12.4.C_COMPILER
ec install_ccompiler
cwd <
&-
&label DO_PASCAL
&if [not [exists dir 12.4.PASCAL]] &then &goto DO_FORUM
&if [query "Do you want to install the Pascal updates?"] 
&then &else &goto DO_FORUM 
cwd [wd]>12.4.PASCAL
ec install_pascal
cwd <
&-
&label DO_FORUM
&if [not [exists dir 12.4.FORUM]] &then &goto DO_LINUS
&if [query "Do you want to install the forum updates?"] 
&then &else &goto DO_LINUS
cwd [wd]>12.4.FORUM
ec install_forum
cwd <
&-
&label DO_LINUS
&if [not [exists dir 12.4.LINUS]] &then &goto DO_MOWSE
&if [query "Do you want to install the linus updates?"] 
&then &else &goto DO_MOWSE
cwd [wd]>12.4.LINUS
ec install_linus
cwd <
&-
&label DO_MOWSE
&if [not [exists dir 12.4.MOWSE]] &then &goto DO_LISTER
&if [query "Do you want to install the mowse updates?"] 
&then &else &goto DO_LISTER
cwd [wd]>12.4.MOWSE
ec install_mowse
cwd <
&-
&label DO_LISTER
&if [not [exists dir 12.4.LISTER]] &then &goto QUIT
&if [query "Do you want to install the lister (wordpro) updates?"]
&then &else &goto QUIT
cwd [wd]>12.4.LISTER
ec install_lister
cwd <
&-
&label QUIT
&print
&print Installation of Part 2 of the MR12.4 release is complete.
&print You may now shutdown your system and reboot for normal service.
&quit
