wok-current diff locale-hu/receipt @ rev 10778

Improve existing locale pack and locale-pt only for Portuguese/Portugal
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 01:50:07 2011 +0200 (2011-06-01)
parents 6a16e4339314
children ee88cfdf14a2
line diff
     1.1 --- a/locale-hu/receipt	Mon May 30 01:12:54 2011 +0200
     1.2 +++ b/locale-hu/receipt	Wed Jun 01 01:50:07 2011 +0200
     1.3 @@ -25,6 +25,9 @@
     1.4  	get_core_messages
     1.5  	PACKAGE="$PKG_NAME"
     1.6  	VERSION="$PKG_VERS"
     1.7 +	# Pregenerate locale file so we dont need glibc-locale as dep.
     1.8 +	mkdir -p $fs/usr/lib/locale
     1.9 +	localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF
    1.10  }
    1.11  
    1.12  # Back to C if it's the last used locale.
    1.13 @@ -34,4 +37,5 @@
    1.14  		echo "LANG=C" > /etc/locale.conf
    1.15  		echo "LC_ALL=C" >> /etc/locale.conf
    1.16  	fi
    1.17 +	rm -rf /usr/lib/locale/$LOCALEDEF
    1.18  }