#!/bin/sh set -e # Automatically added by dh_python3 if command -v py3compile >/dev/null 2>&1; then py3compile -p mercurial-common fi if command -v pypy3compile >/dev/null 2>&1; then pypy3compile -p mercurial-common || true fi # End automatically added section # Automatically added by dh_installdeb/13.15.3 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/mercurial 3.5.1-2\~ mercurial-common -- "$@" dpkg-maintscript-helper rm_conffile /etc/mercurial/hgrc.d/mergetools.rc 4.7.2-1\~ mercurial-common -- "$@" # End automatically added section if [ "$1" = configure ]; then if dpkg --compare-versions "$2" lt-nl 4.7.2-1~; then if [ -f "/etc/mercurial/hgrc.d/mergetools.rc.dpkg-bak" ]; then mv /etc/mercurial/hgrc.d/mergetools.rc.dpkg-bak /etc/mercurial/hgrc.d/mergetools.rc fi fi fi