wok-6.x diff locale-pt_BR/receipt @ rev 14575
eet-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat May 25 12:38:44 2013 +0200 (2013-05-25) |
parents | bcfe199cef3f |
children | 919b102812ab |
line diff
1.1 --- a/locale-pt_BR/receipt Mon Feb 27 11:20:24 2012 +0100 1.2 +++ b/locale-pt_BR/receipt Sat May 25 12:38:44 2013 +0200 1.3 @@ -1,11 +1,12 @@ 1.4 # SliTaz package receipt 1.5 1.6 PACKAGE="locale-pt_BR" 1.7 -VERSION="1.2" 1.8 +VERSION="4.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Portuguese/Brazilian locale pack." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="locale-pt" 1.13 +DEPENDS="glibc-base" 1.14 +BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" 1.15 WEB_SITE="http://www.slitaz.org/" 1.16 WANTED="slitaz-i18n" 1.17 1.18 @@ -22,3 +23,12 @@ 1.19 get_slitaz_messages 1.20 get_core_messages 1.21 } 1.22 + 1.23 +# Back to C if it's the last used locale. 1.24 +post_remove() 1.25 +{ 1.26 + if grep -q $LOCALEDEF /etc/locale.conf; then 1.27 + echo "LANG=C" > /etc/locale.conf 1.28 + echo "LC_ALL=C" >> /etc/locale.conf 1.29 + fi 1.30 +}