Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 511278 Details for
Bug 641868
sys-apps/portage-2.3.x while re-emerging package postrm is called before postinst
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Portage bashrc hook example
bashrc_hooks_example (text/plain), 478 bytes, created by
Stefan Cristian Brindusa
on 2017-12-21 01:10:59 UTC
(
hide
)
Description:
Portage bashrc hook example
Filename:
MIME Type:
Creator:
Stefan Cristian Brindusa
Created:
2017-12-21 01:10:59 UTC
Size:
478 bytes
patch
obsolete
>(test) nox-pc /etc/portage # cat bashrc >set -x > if [ "${EBUILD_PHASE}" == "postinst" ]; then > echo "First, I install." > fi > if [ "${EBUILD_PHASE}" == "postrm" ] ; then > echo "Second, I remove." > echo "If I do some DB operations here and now with external DB" > echo "The package even though it will not remove itself" > echo "My DB will see this package as removed." > fi >set +x
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 641868
: 511278 |
511280