slitaz-tools rev 204
keymap.conf and locale.conf are declared now
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 21 20:41:15 2008 +0000 (2008-05-21) |
parents | 121a34444924 |
children | c03dd105a2a2 |
files | rootfs/usr/share/examples/etc/profile tinyutils/tazkeymap tinyutils/tazlocale |
line diff
1.1 --- a/rootfs/usr/share/examples/etc/profile Tue May 20 17:35:21 2008 +0200 1.2 +++ b/rootfs/usr/share/examples/etc/profile Wed May 21 20:41:15 2008 +0000 1.3 @@ -15,7 +15,7 @@ 1.4 umask 022 1.5 1.6 # Locale setting. 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
2.1 --- a/tinyutils/tazkeymap Tue May 20 17:35:21 2008 +0200 2.2 +++ b/tinyutils/tazkeymap Wed May 21 20:41:15 2008 +0000 2.3 @@ -32,7 +32,7 @@ 2.4 fi 2.5 2.6 # Get current keymap if it exist. 2.7 -if [ -f /etc/keymap.conf ]; then 2.8 +if [ -s /etc/keymap.conf ]; then 2.9 CUR=`cat /etc/keymap.conf` 2.10 else 2.11 CUR="none" 2.12 @@ -93,7 +93,7 @@ 2.13 esac 2.14 2.15 # If it's a reconfiguration give an info message. 2.16 -if [ -f /etc/keymap.conf ]; then 2.17 +if [ -s /etc/keymap.conf ]; then 2.18 $DIALOG --clear \ 2.19 --title " Keyboard mapping information " \ 2.20 --msgbox "\n
3.1 --- a/tinyutils/tazlocale Tue May 20 17:35:21 2008 +0200 3.2 +++ b/tinyutils/tazlocale Wed May 21 20:41:15 2008 +0000 3.3 @@ -74,7 +74,7 @@ 3.4 fi 3.5 3.6 # If it's a reconfiguration give an info message. 3.7 -if [ -f /etc/locale.conf ]; then 3.8 +if [ -s /etc/locale.conf ]; then 3.9 $DIALOG --clear \ 3.10 --title " Locale setting information " \ 3.11 --msgbox "\n