#!/bin/sh set -e case "${1}" in remove) if [ -L /usr/bin/git-changelog ] then rm -f /usr/bin/git-changelog fi dpkg-divert --package git-changelog --quiet --remove --rename --divert /usr/bin/git-changelog.extras /usr/bin/git-changelog ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`${1}'" >&2 exit 1 ;; esac # Automatically added by dh_installdebconf/14.3 if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then # shellcheck disable=SC1091 . /usr/share/debconf/confmodule db_purge fi # End automatically added section exit 0