MAE 1.0a Patch Installer Script: CleanUpExit Problem (10/94)


While installing the MAE 1.0a Patch, I had a problem and canceled out of the install. I found that the installer script didn't correctly restore MAE to it's previous state. What's wrong?

There is a bug in the MAE 1.0a Patch system folder update script. The CleanUpExit function in the script improperly moves "MAE Enabler.SAVE" to "Finder" instead of moving "Finder.SAVE" to "Finder".

You can correct this by manually renaming (mv) "Finder.SAVE" to "Finder". The only time this problem occurs is when something goes wrong with the update process, which should seldom happen.

The following shows the errant portion of the install script:

## CleanUpExit ##
function CleanUpExit
{
! /bin/mv "$sysfol_dir/MAE Enabler.SAVE" "$sysfol_dir/Finder"
/bin/mv "$sysfol_dir/MAE Enabler.SAVE" "$sysfol_dir/MAE Enabler"
exit 1
}

The following shows what it should be:

## CleanUpExit ##
function CleanUpExit
{
! /bin/mv "$sysfol_dir/Finder.SAVE" "$sysfol_dir/Finder"
/bin/mv "$sysfol_dir/MAE Enabler.SAVE" "$sysfol_dir/MAE Enabler"
exit 1
}


Support Information Services
Published Date: Feb 19, 2012