diff options
Diffstat (limited to 'files/etc/profile')
-rw-r--r-- | files/etc/profile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/files/etc/profile b/files/etc/profile index 5a89ea5..51d0430 100644 --- a/files/etc/profile +++ b/files/etc/profile @@ -9,7 +9,7 @@ fi export PATH if [ "$PS1" ]; then - if [ "$BASH" ]; then + if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then # The file bash.bashrc already sets the default PS1. # PS1='\h:\w\$ ' if [ -f /etc/bash.bashrc ]; then @@ -24,9 +24,6 @@ if [ "$PS1" ]; then fi fi -# The default umask is now handled by pam_umask. -# See pam_umask(8) and /etc/login.defs. - if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then |