[bug-notifications] [gcc3core 0001622]: CSWgcc3core misdelivers f-type file via postinstall

Mantis Bug Tracker noreply at opencsw.org
Sun Dec 4 12:06:54 CET 2011


The following issue has been ASSIGNED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=1622 
====================================================================== 
Reported By:                carlsonj
Assigned To:                pfelecan
====================================================================== 
Project:                    gcc3core
Issue ID:                   1622
Category:                   packaging
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2006-06-03 15:27 CEST
Last Modified:              2011-12-04 12:06 CET
====================================================================== 
Summary:                    CSWgcc3core misdelivers f-type file via postinstall
Description: 
CSWgcc3core delivers this file (in its postinstall):

/var/sadm/install/logs/CSWgcc3core-20060205135859
The problem is that the postinstall script sets the contents of the file
(via \'echo\') *after* it does the installf.  It needs to set the contents
first, or close the shell\'s redirected stdout before doing those echos
(and probably before doing installf).

(It also doesn\'t deliver a space file, so perhaps it should just not
deliver this file via packaging.)

exec >> ${logFile} 2>&1

installf ${PKGINST} \"${logFile}\"
[...]
installf -f ${PKGINST}

echo \"\"
echo \"System headers fixed successfully.\"
echo \"\"
echo \"Don\'t forget: whenever your system headers change run the
mkheaders script!\"

====================================================================== 

---------------------------------------------------------------------- 
 (0003464) carlsonj (reporter) - 2006-06-03 16:41
 https://www.opencsw.org/mantis/view.php?id=1622#c3464 
---------------------------------------------------------------------- 
mantis helpfully put this in the wrong \'product\' for me; should be
\'gcc3core\'.



More information about the bug-notifications mailing list