#!/bin/sh -e

L=it

#DEBHELPER#

if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \
     -a -L /usr/doc/HOWTO/${L}-html ]; then
  rm -f /usr/doc/HOWTO/${L}-html
fi


if [ -x /usr/sbin/dhelp_parse ]; then
   echo -n "Unregistering documentation with dhelp..."
   /usr/sbin/dhelp_parse -d /usr/share/doc/HOWTO/${L}-html
   /usr/sbin/dhelp_parse -d /usr/share/doc/HOWTO/${L}-html/mini
   echo "done."
fi

#if [ -x /usr/bin/update-menus ] ; then update-menus ; fi

#if command -v install-docs >/dev/null 2>&1; then
#	echo -n "Unregistering documentation..."
#	install-docs -r doc-linux-it_howto
#	install-docs -r doc-linux-it_mini
#	echo "done."
#fi
