#!/bin/sh -
# postinst of package irussian
# Adapted from postinst script of package iportuguese



set -e

case "$1" in
    configure)   
	update-alternatives --verbose --install 				\
	    /usr/lib/ispell/default.hash ispell-dictionary.hash 		\
	    /usr/lib/ispell/russian.hash 10				\
	    --slave /usr/lib/ispell/default.aff ispell-dictionary.aff 	\
	    /usr/lib/ispell/russian.aff > /dev/null  
	update-ispell-dictionary
        ;;
    abort-upgrade | abort-deconfigure | abort-remove)
	;;
    *)
	echo "$0: incorrect arguments: $*" >&2
	exit 1
	;;
esac

#DEBHELPER#

exit 0
