wok-current rev 951
Fix (again) locale pack
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 25 18:59:48 2008 +0200 (2008-06-25) |
parents | c359d1c70cff |
children | be0892d9efd5 |
files | glibc-locale/receipt locale-cs/receipt locale-de/receipt locale-es/receipt locale-id/receipt locale-it/receipt locale-pt_BR/receipt locale-ru/receipt |
line diff
1.1 --- a/glibc-locale/receipt Wed Jun 25 17:21:10 2008 +0200 1.2 +++ b/glibc-locale/receipt Wed Jun 25 18:59:48 2008 +0200 1.3 @@ -37,7 +37,7 @@ 1.4 status 1.5 1.6 # Rm files provided by locale-pack. 1.7 - for i in cs es fr ru 1.8 + for i in de cs es fr ru id it pt_BR 1.9 do 1.10 echo -n "* Removing locale: $i" 1.11 rm -rf $fs/usr/share/locale/$i
2.1 --- a/locale-cs/receipt Wed Jun 25 17:21:10 2008 +0200 2.2 +++ b/locale-cs/receipt Wed Jun 25 18:59:48 2008 +0200 2.3 @@ -54,7 +54,7 @@ 2.4 local root 2.5 root=$1 2.6 # locale.conf 2.7 - if [ ! -s $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-de/receipt Wed Jun 25 17:21:10 2008 +0200 3.2 +++ b/locale-de/receipt Wed Jun 25 18:59:48 2008 +0200 3.3 @@ -53,7 +53,7 @@ 3.4 local root 3.5 root=$1 3.6 # locale.conf 3.7 - if [ ! -s $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-es/receipt Wed Jun 25 17:21:10 2008 +0200 4.2 +++ b/locale-es/receipt Wed Jun 25 18:59:48 2008 +0200 4.3 @@ -53,7 +53,7 @@ 4.4 local root 4.5 root=$1 4.6 # locale.conf 4.7 - if [ ! -s $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-id/receipt Wed Jun 25 17:21:10 2008 +0200 5.2 +++ b/locale-id/receipt Wed Jun 25 18:59:48 2008 +0200 5.3 @@ -53,7 +53,7 @@ 5.4 local root 5.5 root=$1 5.6 # locale.conf 5.7 - if [ ! -s $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-it/receipt Wed Jun 25 17:21:10 2008 +0200 6.2 +++ b/locale-it/receipt Wed Jun 25 18:59:48 2008 +0200 6.3 @@ -53,7 +53,7 @@ 6.4 local root 6.5 root=$1 6.6 # locale.conf 6.7 - if [ ! -s $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
7.1 --- a/locale-pt_BR/receipt Wed Jun 25 17:21:10 2008 +0200 7.2 +++ b/locale-pt_BR/receipt Wed Jun 25 18:59:48 2008 +0200 7.3 @@ -53,7 +53,7 @@ 7.4 local root 7.5 root=$1 7.6 # locale.conf 7.7 - if [ ! -s $root/etc/locale.conf ]; then 7.8 + if [ -s $root/etc/locale.conf ]; then 7.9 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 7.10 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 7.11 fi
8.1 --- a/locale-ru/receipt Wed Jun 25 17:21:10 2008 +0200 8.2 +++ b/locale-ru/receipt Wed Jun 25 18:59:48 2008 +0200 8.3 @@ -37,7 +37,7 @@ 8.4 done 8.5 8.6 # Glibc locale. 8.7 - #cp -a $GLIBC_FILES/usr/share/locale/$LOCALE $fs/usr/share/locale 8.8 + cp -a $GLIBC_FILES/usr/share/locale/$LOCALE $fs/usr/share/locale 8.9 8.10 PACKAGE="$PKG_NAME" 8.11 VERSION="$PKG_VERS" 8.12 @@ -53,7 +53,7 @@ 8.13 local root 8.14 root=$1 8.15 # locale.conf 8.16 - if [ ! -s $root/etc/locale.conf ]; then 8.17 + if [ -s $root/etc/locale.conf ]; then 8.18 echo "LANG=\"$LOCALEDEF\"" > $root/etc/locale.conf 8.19 echo "LC_ALL=\"$LOCALEDEF\"" >> $root/etc/locale.conf 8.20 fi