diff options
author | vapier <vapier> | 2006-04-18 22:47:39 +0000 |
---|---|---|
committer | vapier <vapier> | 2006-04-18 22:47:39 +0000 |
commit | f3a277cda12affc4287ef4eacab129da3f4272d4 (patch) | |
tree | 3673937d940779bd621f6350e480bfd0efaf2cc8 /locale-gen | |
parent | add progress information (diff) | |
download | locale-gen-f3a277cda12affc4287ef4eacab129da3f4272d4.tar.gz locale-gen-f3a277cda12affc4287ef4eacab129da3f4272d4.tar.bz2 locale-gen-f3a277cda12affc4287ef4eacab129da3f4272d4.zip |
add a check for /etc/locales.build upgrade
Diffstat (limited to 'locale-gen')
-rwxr-xr-x | locale-gen | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,7 +36,7 @@ show_usage() { exit 1 } show_version() { - local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.2 2006/04/17 16:48:56 vapier Exp $" + local cvsver="$Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/locale/locale-gen,v 1.3 2006/04/18 22:47:39 vapier Exp $" cvsver=${cvsver##*locale-gen-} echo "locale-gen-${cvsver%%,v *}" exit 0 @@ -93,6 +93,12 @@ LOCALEDIR=${DESTDIR}$(localedef --help | sed -n -e '/locale path/{s|.* : ||;s|:. +if [[ ${QUIET} -eq 0 ]] && [[ -z ${JUST_LIST} ]] && \ + [[ -e ${ROOT}etc/locales.build ]] +then + ewarn "You should upgrade your /etc/locales.build to /etc/locale.gen" + ewarn "and then remove /etc/locales.build when you're done.\n" +fi [[ -s ${LOCALEGEN} ]] || exit 0 locales_to_generate=$(sed \ |