The "smart" scripts run from /etc/profile are written in bash, so
we should not even check for their existence if the shell is not
bash.