#!/bin/sh # postinst script for git-buildpackage # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) dpkg-maintscript-helper rm_conffile \ /etc/bash_completion.d/git-buildpackage 0.6.34~ git-buildpackage -- "$@" ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. # Automatically added by dh_python3: if which py3compile >/dev/null 2>&1; then py3compile -p git-buildpackage -V 3.5- fi if which pypy3compile >/dev/null 2>&1; then pypy3compile -p git-buildpackage -V 3.5- || true fi # End automatically added section exit 0