EPM STR #22

Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Subsystem:Unassigned
Summary:aix.c code backwards for unpre_i & unpost_i
Version:4.1
Created By:dap5399
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails


Trouble Report Files:

Post File

No files


Trouble Report Dialog:

Post Text


Name/Time/DateText
dap5399
09:39 Jan 05, 2010
aix.c snippet:
   /*
    * Write the product.unpost_i file for installp (note, despite the name,
    * unpost_i is the pre-removal script...)
    */

     if (c->type == COMMAND_PRE_REMOVE && c->subpackage == subpackage)
        fprintf(fp, "%s\n", c->command);

This is incorrect, should be:

   /*
    * Write the product.unpost_i file for installp (note, despite the name,
    * unpost_i is the pre-removal script...)
    */
      if (c->type == COMMAND_POST_REMOVE && c->subpackage == subpackage)
        fprintf(fp, "%s\n", c->command);

The same is true for unpre_i.

Updated aix.c and re-compiled.