Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43541 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]
eldad's ewarn/einfo logging incorporated into /etc/portage/profile/profile.bashrc
profile.bashrc (text/plain), 1020 bytes, created by
Lindsay Haisley
on 2004-11-08 11:28:57 UTC
(
hide
)
Description:
eldad's ewarn/einfo logging incorporated into /etc/portage/profile/profile.bashrc
Filename:
MIME Type:
Creator:
Lindsay Haisley
Created:
2004-11-08 11:28:57 UTC
Size:
1020 bytes
patch
obsolete
>if [ "$EBUILD_PHASE" != "depend" ]; then > if [ ! -z "${PORT_ENOTICE_DIR}" ]; then > export SANDBOX_WRITE="$SANDBOX_WRITE:${PORT_ENOTICE_DIR}" > install -d "${PORT_ENOTICE_DIR}" &>/dev/null > chown root:portage "${PORT_ENOTICE_DIR}" &>/dev/null > chmod g+rwxs "${PORT_ENOTICE_DIR}" &>/dev/null > if [ "$EBUILD_PHASE" == "unpack" ]; then > rm -f ${PORT_ENOTICE_DIR}/${PF} > fi > fi >fi > >einfo() { > enotice info "${*}" >} > >ewarn() { > enotice warn "${*}" >} > >eerror() >{ > enotice error "${*}" >} > >enotice() >{ > local color > local type > > type="${1}" > > case "${type}" in > "info") > color="${GOOD}" > ;; > "warn") > color="${WARN}" > ;; > "error") > color="${BAD}" > ;; > esac > > shift > > if [ ! -z "${PORT_ENOTICE_DIR}" ]; then > echo "${type}:${*}" >> ${PORT_ENOTICE_DIR}/${PF} > fi > echo " ${color}*${NORMAL} ${*}" >} > ># for myarg in $*; do ># if [ "${myarg}" == "postinst" ] ># then ># if [[ -n ${PORT_ENOTICE_DIR} && -r ${T}/notices.${PF} ]] ># then ># cp ${T}/notices.${PF} ${PORT_ENOTICE_DIR}/${PF} ># fi ># fi ># done
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 Raw
Actions:
View
Attachments on
bug 11359
:
6039
|
6046
|
16300
|
16341
|
25855
|
27224
|
27382
|
36713
|
36784
| 43541 |
65206