Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 13072 Details for
Bug 22565
Application to solve the localedef problems made by Debian people (locale-gen)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
locale-gen script
locale-gen. (text/plain), 819 bytes, created by
Ingo -LaSombra- Hoffmann
on 2003-06-10 11:27:47 UTC
(
hide
)
Description:
locale-gen script
Filename:
MIME Type:
Creator:
Ingo -LaSombra- Hoffmann
Created:
2003-06-10 11:27:47 UTC
Size:
819 bytes
patch
obsolete
>#!/bin/sh >set -e >LOCALEGEN=/etc/locale.gen >LOCALES=/usr/share/i18n/locales >[ -f $LOCALEGEN -a -s $LOCALEGEN ] || exit 0; ># Remove all old locale dir and locale-archive before generating new ># locale data. >rm -rf /usr/lib/locale/* || true >umask 022 >echo "Generating locales..." >while read locale charset; do \ > case $locale in \#*) continue;; esac; \ > [ -n "$locale" -a -n "$charset" ] || continue > echo -n " `echo $locale | sed 's/\([^.\@]*\).*/\1/'`"; \ > echo -n ".$charset"; \ > echo -n `echo $locale | sed 's/\([^\@]*\)\(\@.*\)*/\2/'`; \ > echo -n '...'; \ > if [ -f $LOCALES/$locale ]; then input=$locale; else \ > input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; fi; \ > localedef -i $input -c -f $charset -A /etc/locale.alias $locale; \ > echo ' done'; \ >done < $LOCALEGEN >echo "Generation complete."
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 22565
: 13072 |
13073