File: postinst-lcd-keymaps

package info (click to toggle)
console-common 0.7.14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 188 kB
  • ctags: 52
  • sloc: perl: 450; sh: 219; awk: 134; makefile: 108
file content (14 lines) | stat: -rw-r--r-- 480 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ "$1" = "configure" ]
then
    . /usr/share/debconf/confmodule
# If the entry contains a / it's broken so overwrite it with a default
# value.  See see #110873
    if db_get console-data/keymap/full && echo "$RET" | grep -q "/"; then
        db_set console-data/keymap/full us
    fi
    echo >&2 "Looking for keymap to install:"
    if /usr/share/console/getkmapchoice.pl
    then
	/usr/sbin/install-keymap `PERL_BADLANG=0 /usr/share/console/getkmapchoice.pl 2>&1`
    fi
fi