If you define #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" in config-top.h, bash will execute /etc/bash.bash_logout on logout. Patch for the bash ebuild and example bash.bash_logout are attached. Reproducible: Always Steps to Reproduce:
Created attachment 57274 [details, diff] bash-3.0-r9.ebuild.patch
Created attachment 57275 [details] dummy /etc/bash.bash_logout Put this example file to ${FILESDIR}.
grr, you had to post this bug after i already killed off /etc/bash/
At build time you can change the name/location of the global bash_logout file as you like. I don't understand your comment.
dont worry about it
now part of bash-3.0-r10
Thanks for changing the ebuild in the official portage! Unfortunately you forgot to change the new path of the global bashrc in /etc/profile :-)
no i didnt, update your baselayout :P