#!/bin/sh
# Last modification: Sun, 26 Jan 1997 15:55:01 +0200
# prerm of package iitalian

set -e

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

if	[ -n "$remove" ]
then	if [ -n "`update-alternatives --display ispell-dictionary.hash	\
		| grep italian | grep 999`" ]
	then
		update-alternatives --remove ispell-dictionary.hash 	\
			/usr/lib/ispell/italian.hash > /dev/null
		update-ispell-dictionary
	else
		update-alternatives --remove ispell-dictionary.hash 	\
			/usr/lib/ispell/italian.hash > /dev/null
	fi
fi

#DEBHELPER#
