/usr/sbin/update-skkdic-yaskkserv is in yaskkserv 0.5.2-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | #!/bin/sh
# dictionary update script for yaskkserv
#
set -e
[ -f /etc/default/yaskkserv ] && . /etc/default/yaskkserv
_convert () {
DICFP=$1
DICBN=`basename ${DICFP}`
echo -n "generating: ${DICBN}.yaskkserv ... "
yaskkserv_make_dictionary $DICFP /usr/share/yaskkserv/${DICBN}.yaskkserv && echo "done."
}
### update local dictionaries.
for dic in ${LOCAL_DICS}
do
_convert $dic
done
### update system dictionaries.
for dic in /usr/share/skk/SKK-JISYO `dpkg -L skkdic skkdic-extra 2>/dev/null | grep /usr/share/skk/SKK-JISYO`
do
_convert $dic
done
exit 0
|