Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36784 Details for
Bug 11359
[NEW FEATURE] pkg_postinst/pkg_preinst ewarn/einfo logging
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to ebuild.sh to collect einfo/eerror/ewarn messages
ebuild.sh.patch (text/plain), 785 bytes, created by
William Hubbs
on 2004-08-04 17:14:35 UTC
(
hide
)
Description:
patch to ebuild.sh to collect einfo/eerror/ewarn messages
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2004-08-04 17:14:35 UTC
Size:
785 bytes
patch
obsolete
>--- ebuild.sh 2004-08-03 23:20:21.000000000 -0500 >+++ ebuild.sh.new 2004-08-04 18:52:07.709677049 -0500 >@@ -93,6 +93,44 @@ > return 0 > } > >+# void einfo(char* message) >+# >+# show an informative message (with a newline) >+# >+einfo() { >+ echo -e " ${GOOD}*${NORMAL} ${*}" >+ if [ -d ${T} ]; >+ then >+ echo -e "${*}" >> ${T}/messages >+ fi >+ return 0 >+} >+ >+# void ewarn(char* message) >+# >+# show a warning message + log it >+# >+ewarn() { >+ echo -e " ${WARN}*${NORMAL} ${*}" >+ if [ -d ${T} ]; >+ then >+ echo -e "${*}" >> ${T}/messages >+ fi >+ return 0 >+} >+ >+# void eerror(char* message) >+# >+# show an error message + log it >+# >+eerror() { >+ echo -e " ${BAD}*${NORMAL} ${*}" >+ if [ -d ${T} ]; >+ then >+ echo -e "${*}" >> ${T}/messages >+ fi >+ return 0 >+} > > use() { > if useq ${1}; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11359
:
6039
|
6046
|
16300
|
16341
|
25855
|
27224
|
27382
|
36713
| 36784 |
43541
|
65206