wok-current annotate locale-nl/receipt @ rev 22367

fix locale-* post_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 22 12:30:25 2019 +0100 (2019-11-22)
parents a52ffca61a1d
children 5926178cd6fa
rev   line source
al@18168 1 # SliTaz package receipt
al@18168 2
al@18168 3 PACKAGE="locale-nl"
al@18168 4 VERSION="5.0"
al@19175 5 CATEGORY="localization"
al@18168 6 SHORT_DESC="Dutch locale pack"
al@18168 7 MAINTAINER="al.bobylev@gmail.com"
al@18168 8 LICENSE="GPL3"
al@18168 9 WEB_SITE="http://www.slitaz.org/"
al@18168 10 HOST_ARCH="i486 arm"
al@18168 11
al@18168 12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
al@18168 13 DEPENDS="glibc-base"
al@18168 14
al@18168 15 LOCALE="nl"
al@18168 16 LOCALE_DEPENDS=""
al@18168 17 KBD="nl2"
al@18168 18 KB_FLAGS="NL:nl"
al@18168 19 GCONV="ISO8859-1 ISO8859-15"
al@18168 20
al@18168 21 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18168 22 genpkg_rules()
al@18168 23 {
al@18168 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions
al@18168 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@18168 26 get_locale
al@18168 27 }
al@18168 28
al@18168 29 # Back to C if it's the last used locale.
al@18168 30 post_remove()
al@18168 31 {
pascal@22367 32 grep -qs =$LOCALE /etc/locale.conf &&
al@18168 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
al@18168 34 }