#!/bin/sh -
# Last modification: Sun, 26 Jan 1997 15:53:39 +0200
# postinst of package iitalian

set -e

while [ "$1" != "" ]
do
	case "$1" in
		upgrade)	upgrade="Yes" ;;
		configure)	configure="Yes" ;;
	esac
	shift
done

if	[ -n "$configure" ]
then	update-alternatives --verbose --install 				\
		/usr/lib/ispell/default.hash ispell-dictionary.hash 		\
		/usr/lib/ispell/italian.hash 10					\
		--slave /usr/lib/ispell/default.aff ispell-dictionary.aff 	\
		/usr/lib/ispell/italian.aff > /dev/null

	update-ispell-dictionary

fi

#DEBHELPER#
