#!/bin/sh

set -e

case "$1" in
    purge)
        ;;
    remove|failed-upgrade|abort-install|abort-upgrade|disappear)
        cat <<BANNER
----------------------------------------------------------------------

The public digital key for Angie binaries has been removed from
the /etc/digsig/keys directory.

Please perform the following command

    sudo update-initramfs -uk all

and reboot the machine to apply the changes.

Please refer to the documentation for further details:
https://wiki.astralinux.ru/pages/viewpage.action?pageId=41190634

----------------------------------------------------------------------
BANNER
        ;;
    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
esac

#DEBHELPER#

exit 0
