chroot-glibc: fix locale generation (drop useless -A arg).

This commit is contained in:
Juan RP 2013-05-01 11:11:29 +02:00
parent d8782f8fd2
commit 44eb20a34a
2 changed files with 2 additions and 3 deletions

View file

@ -4,13 +4,12 @@ case "${ACTION}" in
post)
LOCALE_ARCHIVEDIR=usr/lib/locale
LOCALE_ARCHIVE=${LOCALE_ARCHIVEDIR}/locale-archive
LOCALE_ALIAS=usr/share/locale/locale.alias
[ -n "$POSIXLY_CORRECT" ] && unset POSIXLY_CORRECT
[ -f $LOCALE_ARCHIVE ] && rm -f $LOCALE_ARCHIVE
[ ! -d $LOCALE_ARCHIVEDIR ] && mkdir -p $LOCALE_ARCHIVEDIR
echo "Generating GNU libc locale: en_US.UTF-8 ..."
localedef --prefix=. -c -f UTF-8 -i en_US -A $LOCALE_ALIAS en_US.UTF-8
localedef --prefix=. -c -f UTF-8 -i en_US en_US.UTF-8
;;
esac

View file

@ -3,7 +3,7 @@ pkgname=chroot-glibc
_majorver=2.17
version=${_majorver}
wrksrc="glibc-${version}"
revision=7
revision=8
short_desc="The GNU C library -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/libc"