You are not logged in.
Pages: 1
OK, so for some reason, half of my /etc/profile dissapeared. I cant explain it, but it looks like only the compiler settings disappeared.
Could someone post what the default /etc/profile looks like.
Jeez, things have been going wrong since I upgraded the GCC.
"Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
Offline
pacman -S bash
Offline
That's *almost* the default /etc/profile
#
# /etc/profile
#
export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin"
export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="latin1"
export INPUTRC="/etc/inputrc"
export LESS="-R"
export PS1='[u@h W]$ '
# not in default profile
#export PS1='e[0;34m[e[0;32mue[0;31m@e[0;32mh e[0;33mWe[0;34m]$e[0;39m '
#export PS1='[e[0;32mbash-v e[0;33mwe[0;39m]$e[0;39m '
export PS2='> '
umask 022
# not in default profile
eval `dircolors -b`
# load profiles from /etc/profile.d
# (to disable a profile, just remove execute permission on it)
for profile in /etc/profile.d/*.sh; do
if [ -x $profile ]; then
source $profile
fi
done
unset profile
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile
fi
# End of file
Offline
I forget:
everything is OK for me after GCC upgrade.
Offline
Thats what my profile looks like.
Some package upgrade must have changed it. Im not having any problems, so I guess thats how its suppose to be.
"Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
Offline
Only the bash package should change /etc/profile. That's the point of having the drop-in /etc/profile.d/ directory.
Offline
Yeah, the profile.d is great. It makes things much easier. I didnt have that in Slackware. What package creates that?
"Contrary to popular belief, penguins are not the salvation of modern technology. Neither do they throw parties for the urban proletariat."
Offline
/etc/profile.d is part of the filesystem package.
Offline
Pages: 1