slitaz-base-files rev 34
will declare /etc/locale.conf /etc/TZ
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 01:02:07 2008 +0200 (2008-05-13) |
parents | 1a0df590c912 |
children | ae90f5d46479 |
files | rootfs/etc/profile |
line diff
1.1 --- a/rootfs/etc/profile Mon May 05 20:59:43 2008 +0000 1.2 +++ b/rootfs/etc/profile Tue May 13 01:02:07 2008 +0200 1.3 @@ -31,11 +31,11 @@ 1.4 1.5 # Locale and timezone settings. 1.6 # 1.7 -if [ -f "/etc/locale.conf" ]; then 1.8 +if [ -s "/etc/locale.conf" ]; then 1.9 . /etc/locale.conf 1.10 export LANG LC_ALL 1.11 fi 1.12 -if [ -f "/etc/TZ" ]; then 1.13 +if [ -s "/etc/TZ" ]; then 1.14 TZ=`cat /etc/TZ` 1.15 export TZ 1.16 fi