diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-12-13 12:20:58 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-12-13 12:20:58 -0600 |
commit | b91dc2ac50d421d29e22bac9c9564029ba64350d (patch) | |
tree | 23dae184a48b6ee3659cf2c7163d31fcf8d56f6c /debian/locale-gen | |
parent | 080af76066c8781b4b6dbfcc447c13fb0d1bb28c (diff) | |
download | ayatana-indicator-datetime-b91dc2ac50d421d29e22bac9c9564029ba64350d.tar.gz ayatana-indicator-datetime-b91dc2ac50d421d29e22bac9c9564029ba64350d.tar.bz2 ayatana-indicator-datetime-b91dc2ac50d421d29e22bac9c9564029ba64350d.zip |
try adding a build-dep of language-pack-en-base instead of configuring the locales in the unit test sandbox. (h/t seb)
Diffstat (limited to 'debian/locale-gen')
-rw-r--r-- | debian/locale-gen | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/debian/locale-gen b/debian/locale-gen deleted file mode 100644 index 437dec5..0000000 --- a/debian/locale-gen +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -LOCPATH=`pwd`/locales -export LOCPATH - -[ -d $LOCPATH ] || mkdir -p $LOCPATH - -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 $LOCPATH/$locale ]; then - input=$locale - else - input=`echo $locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'` - fi - localedef -i $input -c -f $charset $LOCPATH/$locale #-A /etc/locale.alias - echo ' done'; \ -done <<EOF -# Put the list of locales you need here: -en_GB.utf8 UTF-8 -en_US.utf8 UTF-8 -EOF - -echo "Generation complete." |