#!/ibin/vtcl

# VTCL: script to let the user know they're missing patches

proc okCB {cbs } {
 VtClose
 exit 0
}

set progTitle "Missing Pre-requisite Patch"
set appRoot [VtOpen MissingMP3]
set mainForm [VtMessageDialog $appRoot.MissingMP3 \
  -title $progTitle -ok -okCallback okCB -message "\n\
  The package you are installing:                                   \n\
\n\
     Supplemental Graphics, Web and X11 Libraries (GWXLIBS)         \n\
\n\
  requires that you first install SCO OpenServer Release 5.0.7      \n\
  Maintenance Pack 3, or, if available, any later version. This     \n\
  installation will now stop.                                       \n\
\n\
  Due to a bug in the software manager, this installation may       \n\
  abort with an error message that asks you if you want to cancel   \n\
  the installation. This will only happen if you had a previous     \n\
  version of this package installed. You should cancel this         \n\
  installation when prompted. Failure to do so will remove the old  \n\
  version of this package.                                          \n\
\n\
  Please refer to the Release Notes for more details.\n" \
  ]

VtShow $mainForm
VtMainLoop
