#! /bin/sh set -e case "$1" in configure) if [ -x /usr/sbin/dictdconfig ]; then dictdconfig -w ;fi if which invoke-rc.d >/dev/null 2>&1; then if invoke-rc.d --query dictd restart; [ $? = 104 ]; then invoke-rc.d dictd restart fi else [ -x /etc/init.d/dictd ] && /etc/init.d/dictd restart fi ;; esac