~ubuntu-branches/ubuntu/wily/console-setup/wily

« back to all changes in this revision

Viewing changes to debian/console-setup.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Anton Zinoviev
  • Date: 2006-11-13 21:24:44 UTC
  • mto: (3.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20061113212444-6qxdbq8dxxtr4tnu
Tags: 1.13
Unfuzzy the translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
if [ "$1" = "configure" ]; then
38
38
    
39
 
    db_get console-setup/codeset
 
39
    db_get console-setup/codesetcode
40
40
    codeset="$RET"
41
41
    db_get console-setup/fontface
42
42
    fontface="$RET"
45
45
 
46
46
    fontname=$codeset-$fontface$fontsize.psf.gz
47
47
    
48
 
    db_get console-setup/charmap
49
 
    charmap="$RET"
 
48
    if which ckbcomp-mini >/dev/null; then
 
49
        charmap=UTF-8
 
50
    else
 
51
        db_get console-setup/charmap
 
52
        charmap="${RET:-UTF-8}"
 
53
    fi
50
54
 
51
55
    db_get console-setup/ttys
52
56
    ttys="$RET"
136
140
 
137
141
# In d-i debhelper doesn't use /etc/init.d scripts :-)
138
142
if [ -f /usr/share/console-setup-mini/console-setup.config ]; then
139
 
    setupcon
 
143
    setupcon --force
140
144
fi
141
145
 
142
146
#DEBHELPER#