5 if ! grep -q ukeyboard
/usr
/share
/X11
/xkb
/rules
/base
; then
6 # add ukeyboard symbols
7 sed -i 's/nokia_vndr\/su-8w(%l)/\0\n ukeyboard * = nokia_vndr\/ukeyboard(common)+nokia_vndr\/ukeyboard(%l%_v)/' /usr
/share
/X11
/xkb
/rules
/base
8 # add types for ukeyboard
9 sed -i 's/$nokiamodels = complete+nokia/\0\n ukeyboard = complete+nokia+ukeyboard/' /usr
/share
/X11
/xkb
/rules
/base
12 if [ -f /usr
/share
/applications
/hildon-control-panel
/cptextinput.desktop
]; then
13 mv -f /usr
/share
/applications
/hildon-control-panel
/cptextinput.desktop
/usr
/share
/applications
/hildon-control-panel
/cptextinput.desktop.removed
18 # temporary disable keyboard layouts that are provided also with ukeyboard
21 if [ -f /usr
/share
/keyboards
/$i.vkb
]; then
22 if [ ! -h /usr
/share
/keyboards
/$i.vkb
]; then
23 mv /usr
/share
/keyboards
/$i.vkb
/usr
/share
/keyboards
/$i.vkb.removed
30 if [ -x /usr
/bin
/ukeyboard-postinst
]; then
31 /usr
/bin
/ukeyboard-postinst
34 abort-upgrade|abort-remove|abort-deconfigure
)