LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xfree86 update and profile-file (https://www.linuxquestions.org/questions/linux-software-2/xfree86-update-and-profile-file-162538/)

Warlon 03-26-2004 03:16 AM

Xfree86 update and profile-file
 
Hi!

I updated my Xfree86 and now it doesn't seem to use my /etc/profile file. There is some export lines that I have added but they still don't show up when typing export at the console.

Any ideas what have I done wrong?

hw-tph 03-26-2004 06:11 AM

You can set up your ~/.bash_profile to source your ~/.bashrc:
Code:

if [ -e ~/.bashrc ]
then
    source ~/.bashrc
fi

...and then set up your ~/.bashrc to source your /etc/profile:
Code:

if [ -e /etc/profile ]
then
    source /etc/profile
fi

That should make sure all settings are always set, no matter how you log in.


Håkan


All times are GMT -5. The time now is 11:52 AM.