wok-current rev 949
Fix locale pack for LiveCD generation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 25 17:20:28 2008 +0200 (2008-06-25) |
parents | 56ac4dfd3086 |
children | c359d1c70cff |
files | locale-cs/receipt locale-de/receipt locale-es/receipt locale-it/receipt locale-pt_BR/receipt locale-ru/receipt |
line diff
1.1 --- a/locale-cs/receipt Tue Jun 24 21:35:25 2008 +0200 1.2 +++ b/locale-cs/receipt Wed Jun 25 17:20:28 2008 +0200 1.3 @@ -54,7 +54,7 @@ 1.4 local root 1.5 root=$1 1.6 # locale.conf 1.7 - if [ -f $root/etc/locale.conf ]; then 1.8 + if [ ! -s $root/etc/locale.conf ]; then 1.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 1.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 1.11 fi
2.1 --- a/locale-de/receipt Tue Jun 24 21:35:25 2008 +0200 2.2 +++ b/locale-de/receipt Wed Jun 25 17:20:28 2008 +0200 2.3 @@ -53,7 +53,7 @@ 2.4 local root 2.5 root=$1 2.6 # locale.conf 2.7 - if [ -f $root/etc/locale.conf ]; then 2.8 + if [ ! -s $root/etc/locale.conf ]; then 2.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 2.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 2.11 fi
3.1 --- a/locale-es/receipt Tue Jun 24 21:35:25 2008 +0200 3.2 +++ b/locale-es/receipt Wed Jun 25 17:20:28 2008 +0200 3.3 @@ -53,7 +53,7 @@ 3.4 local root 3.5 root=$1 3.6 # locale.conf 3.7 - if [ -f $root/etc/locale.conf ]; then 3.8 + if [ ! -s $root/etc/locale.conf ]; then 3.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 3.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 3.11 fi
4.1 --- a/locale-it/receipt Tue Jun 24 21:35:25 2008 +0200 4.2 +++ b/locale-it/receipt Wed Jun 25 17:20:28 2008 +0200 4.3 @@ -53,7 +53,7 @@ 4.4 local root 4.5 root=$1 4.6 # locale.conf 4.7 - if [ -f $root/etc/locale.conf ]; then 4.8 + if [ ! -s $root/etc/locale.conf ]; then 4.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 4.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 4.11 fi
5.1 --- a/locale-pt_BR/receipt Tue Jun 24 21:35:25 2008 +0200 5.2 +++ b/locale-pt_BR/receipt Wed Jun 25 17:20:28 2008 +0200 5.3 @@ -53,7 +53,7 @@ 5.4 local root 5.5 root=$1 5.6 # locale.conf 5.7 - if [ -f $root/etc/locale.conf ]; then 5.8 + if [ ! -s $root/etc/locale.conf ]; then 5.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 5.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 5.11 fi
6.1 --- a/locale-ru/receipt Tue Jun 24 21:35:25 2008 +0200 6.2 +++ b/locale-ru/receipt Wed Jun 25 17:20:28 2008 +0200 6.3 @@ -53,7 +53,7 @@ 6.4 local root 6.5 root=$1 6.6 # locale.conf 6.7 - if [ -f $root/etc/locale.conf ]; then 6.8 + if [ ! -s $root/etc/locale.conf ]; then 6.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 6.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 6.11 fi