summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-19 00:49:54 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-19 00:49:54 +0000
commit3c3363498a9a2913a880b85cd2b4f819e83544a8 (patch)
tree88bd4d323cebd39040b52416ede7c9eb6bf24340 /sys-libs
parentAdd check for invalid usage #130243 by F. Steinel. (diff)
downloadgentoo-2-3c3363498a9a2913a880b85cd2b4f819e83544a8.tar.gz
gentoo-2-3c3363498a9a2913a880b85cd2b4f819e83544a8.tar.bz2
gentoo-2-3c3363498a9a2913a880b85cd2b4f819e83544a8.zip
add a warning when generating all locales
(Portage version: 2.1_pre9)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/glibc/glibc-2.4-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-libs/glibc/glibc-2.4-r2.ebuild b/sys-libs/glibc/glibc-2.4-r2.ebuild
index 81e4be6bd7fd..39164b9ef09c 100644
--- a/sys-libs/glibc/glibc-2.4-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.4-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.4-r2.ebuild,v 1.11 2006/04/17 16:52:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.4-r2.ebuild,v 1.12 2006/04/19 00:49:54 vapier Exp $
# Here's how the cross-compile logic breaks down ...
# CTARGET - machine that will target the binaries
@@ -551,6 +551,7 @@ toolchain-glibc_pkg_postinst() {
# if the host locales.gen contains no entries, we'll install everything
local locale_list="${ROOT}etc/locale.gen"
if [[ -z $(locale-gen --list --config "${locale_list}") ]] ; then
+ ewarn "Generating all locales; edit /etc/locale.gen to save time/space"
locale_list="${ROOT}usr/share/i18n/SUPPORTED"
fi
locale-gen --config "${locale_list}"