~ubuntu-branches/ubuntu/natty/localechooser/natty

« back to all changes in this revision

Viewing changes to finish-install

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2006-11-27 13:44:11 UTC
  • Revision ID: james.westby@ubuntu.com-20061127134411-la2cyk7prqj0xww5
Tags: 1.30ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Add a localechooser-data package containing lists useful for packages
    that create automatic installation scripts.
  - Always support English, unless preseeded otherwise.
  - Check whether the language has changed after asking the country
    question, and recalculate a number of things if so.
  - Drop fallbacks for Norwegian Bokmål and Nynorsk.
  - Simplify use of locale-gen using the new command-line argument
    facility in Ubuntu's locales package.
  - Move Portuguese above Portuguese (Brazil) in languagelist.l10n.
  - Add encoding field to languagelist file and use the full SUPPORTED
    file rather than SUPPORTED-short.
  - If the language question was already marked as seen and the answer
    didn't change, then don't recalculate the locale.
* Drop wording change in location question. I think the wording in Debian
  is sufficiently better now than it was back in the dawn of time when we
  changed this that we no longer need to carry around a giant diff for all
  the resulting translation changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        fi
80
80
        ;;
81
81
    cyr)
82
 
        consolefont=`echo $RET | sed -e 's/^cyr=//'`
83
 
        if apt-install console-cyrillic; then
84
 
                cyrconfig=/target/etc/console-cyrillic
85
 
                # format of the consolefont is:
86
 
                # style,size,encoding,layout(option1 option2)
87
 
                style=`echo $consolefont | sed -e 's/,.*$//'`
88
 
                size=`echo $consolefont | sed -e 's/^[^,]*,\([^,]*\),.*$/\1/'`
89
 
                encoding=`echo $consolefont | sed -e 's/^[^,]*,[^,]*,\([^,]*\),.*$/\1/'`
90
 
                layoutopts=`echo $consolefont | sed -e 's/^[^,]*,[^,]*,[^,]*,\([^)]*)\).*$/\1/'`
91
 
                layout=`echo $layoutopts | sed -e 's/(.*)$//'`
92
 
                options=`echo $layoutopts | sed -e 's/.*(//' -e 's/).*//'`
93
 
                modify_cyrconfig style "$style"
94
 
                modify_cyrconfig size "$size"
95
 
                modify_cyrconfig encoding "$encoding"
96
 
                modify_cyrconfig layout "$layout"
97
 
                modify_cyrconfig options "$options"
98
 
                sed -e 's/^.*Bootsetup: .*$/# Bootsetup: YES/' $cyrconfig > $cyrconfig.tmp && \
99
 
                    mv $cyrconfig.tmp $cyrconfig
100
 
                sed -e 's/^.*Debconf: .*$/# Debconf: NO/' $cyrconfig > $cyrconfig.tmp && \
101
 
                    mv $cyrconfig.tmp $cyrconfig
102
 
        fi
 
82
        apt-install console-cyrillic || true
103
83
        ;;
104
84
esac
105
85