#!/bin/sh set -e . /usr/share/debconf/confmodule case "${1}" in configure) db_get git-changelog/install-as-git-changelog GIT_CHANGELOG="${RET}" # boolean db_stop case "${GIT_CHANGELOG}" in true) dpkg-divert --package git-changelog --quiet --add --rename --divert /usr/bin/git-changelog.extras /usr/bin/git-changelog ln -s /usr/bin/git-changelog2 /usr/bin/git-changelog ;; esac ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`${1}'" >&2 exit 1 ;; esac # Automatically added by dh_python3 if command -v py3compile >/dev/null 2>&1; then py3compile -p git-changelog || true fi if command -v pypy3compile >/dev/null 2>&1; then pypy3compile -p git-changelog || true fi # End automatically added section exit 0