diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-03-16 14:22:25 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-03-16 14:22:25 -0300 |
commit | 4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86 (patch) | |
tree | 78b34101c4588bdcd7172caee7fb17a3ec9586f9 /cross/cross-mips64el-unknown-linux-gnu-glibc-headers/locale-gen | |
parent | 841b15b36a632fca19a37f59928c280392590a9c (diff) | |
download | abslibre-4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86.tar.gz abslibre-4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86.tar.bz2 abslibre-4ba1a73242acac2cc908fa22c16c1b0b8b4fdf86.zip |
remove unused cross pkgs
Diffstat (limited to 'cross/cross-mips64el-unknown-linux-gnu-glibc-headers/locale-gen')
-rwxr-xr-x | cross/cross-mips64el-unknown-linux-gnu-glibc-headers/locale-gen | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/locale-gen b/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/locale-gen deleted file mode 100755 index 5aff344c4..000000000 --- a/cross/cross-mips64el-unknown-linux-gnu-glibc-headers/locale-gen +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -set -e - -LOCALEGEN=/etc/locale.gen -LOCALES=/usr/share/i18n/locales -if [ -n "$POSIXLY_CORRECT" ]; then - unset POSIXLY_CORRECT -fi - - -[ -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 - -is_entry_ok() { - if [ -n "$locale" -a -n "$charset" ] ; then - true - else - echo "error: Bad entry '$locale $charset'" - false - fi -} - -echo "Generating locales..." -while read locale charset; do \ - case $locale in \#*) continue;; "") continue;; esac; \ - is_entry_ok || 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 /usr/share/locale/locale.alias $locale; \ - echo ' done'; \ -done < $LOCALEGEN -echo "Generation complete." |