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

Mantis Bug Tracker noreply at opencsw.org
Sun Mar 24 10:50:01 CET 2013


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2006-06-03 15:27 CEST
Last Modified:              2013-03-24 10:50 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!\"

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

---------------------------------------------------------------------- 
 (0010301) pfelecan (manager) - 2013-03-24 10:50
 https://www.opencsw.org/mantis/view.php?id=1622#c10301 
---------------------------------------------------------------------- 
not in the catalog any more



More information about the bug-notifications mailing list