Ticket #878 (closed defect: fixed)
Remove spurious shell check in bashrc
Reported by: | jdreed | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Fall 2011 |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
/usr/lib/init/bashrc says:
# If we see ENV_SET set to empty, we could be a tcsh user who has # decided to run bash, or we could be a bash user suffering from the # misfeature that the standard xsession script runs the tcsh dotfiles # for all users. Running the environment setup for the former # category of user would be unfriendly (it resets the homedir and # changes the path), so for now, only run environment setup for bash # users. If the xsession problem is ever fixed, change this # conditional to check for '"${ENV_SET+set}" != set' and eliminate the # shell check. if [ "${ENV_SET:+set}" != set -a "${SHELL##*/}" = bash ]; then
It is now the case on Debathena that "the standard xsession script runs the tcsh dotfiles" is no longer true, right? So we can eliminate the shell check?
Change History
Note: See
TracTickets for help on using
tickets.