X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_HR,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4F3C99B2.9000507@lysator.liu.se> Date: Thu, 16 Feb 2012 06:52:50 +0100 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: base-files 4.0-9: LANG is set to the system default, why not the user selection? References: <4F3BBA41 DOT 6050800 AT lysator DOT liu DOT se> <20120215221458 DOT GA6842 AT jethro DOT local DOT lan> In-Reply-To: <20120215221458.GA6842@jethro.local.lan> Content-Type: multipart/mixed; boundary="------------010204050907080000060905" Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------010204050907080000060905 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit David Sastre Medina skrev 2012-02-15 23:14: > The files under /etc/profile.d are sourced by /etc/profile, which sets > system wide settings. > For user-defined values, the place to override a system-wide setting > depends on the shell you're using. E.g., for bash, it would be > ~/.bash_profile. Check /etc/skel/.bash_profile. It should include > these lines: > > # Set user-defined locale > export LANG=$(locale -uU) > > Probably you have a customized ~/.bash_profile, so updating to > base-files-4.0-9 didn't replace it. > Hmmm, ok, that doesn't completely match what I'm seeing in my $HOME, my .bash_profile *looks* (who am I to tell, it's attached) unmodified from 4.0-6, so just a quick question, what postinstall script is responsible for moving the updated skel files into $HOME? I couldn't find any, but admittedly didn't spend much time looking... Cheers, Peter --------------010204050907080000060905 Content-Type: text/plain; name=".bash_profile" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=".bash_profile" # base-files version 4.0-6 # ~/.bash_profile: executed by bash(1) for login shells. # The latest version as installed by the Cygwin Setup program can # always be found at /etc/defaults/etc/skel/.bash_profile # Modifying /etc/skel/.bash_profile directly will prevent # setup from updating it. # The copy in your home directory (~/.bash_profile) is yours, please # feel free to customise it to create a shell # environment to your liking. If you feel a change # would be benifitial to all, please feel free to send # a patch to the cygwin mailing list. # User dependent .bash_profile file # source the users bashrc if it exists if [ -f "${HOME}/.bashrc" ] ; then source "${HOME}/.bashrc" fi # Set PATH so it includes user's private bin if it exists # if [ -d "${HOME}/bin" ] ; then # PATH="${HOME}/bin:${PATH}" # fi # Set MANPATH so it includes users' private man if it exists # if [ -d "${HOME}/man" ]; then # MANPATH="${HOME}/man:${MANPATH}" # fi # Set INFOPATH so it includes users' private info if it exists # if [ -d "${HOME}/info" ]; then # INFOPATH="${HOME}/info:${INFOPATH}" # fi --------------010204050907080000060905 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------010204050907080000060905--