postinst is in kinput2-canna 3.1-13.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/sh
set -e
update-alternatives --install /usr/bin/kinput2 kinput2 /usr/bin/kinput2-canna 30 --slave /usr/share/man/man1/kinput2.1x.gz kinput2.1x.gz /usr/share/man/man1/kinput2-canna.1x.gz
update-alternatives \
--install /etc/X11/xinit/xinput.d/ja_JP xinput-ja_JP \
/etc/X11/xinit/xinput.d/kinput2-canna 70
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
|