#! /bin/sh -e
# we want to ignore the --datarootdir setting, whatever that means, so here we we mention it: @datarootdir@
prefix=@prefix@
case "$1" in
    remove|deconfigure|upgrade)
	for p in @PACKAGES@
	do install-info --remove --quiet --info-dir="@infodir@" "@infodir@/$p.info"
	done ;;
    failed-upgrade) ;;
    *) echo "prerm called with unknown argument \`$1'" >&2
       exit 1 ;;
esac
