#!/bin/sh set -e # Automatically added by dh_installdeb/13.3.4 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/git 1:1.8.0-1\~ -- "$@" dpkg-maintscript-helper rm_conffile /etc/emacs/site-start.d/50git-core.el 1:1.7.4.1-2\~ -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/doc/git/contrib/hooks ../../../git-core/contrib/hooks 1:1.7.7-1 -- "$@" dpkg-maintscript-helper dir_to_symlink /usr/share/doc/git/contrib/emacs ../../../git-core/emacs 1:1.7.4\~rc1-0.1 -- "$@" # End automatically added section test "$1" = configure || exit 0 removed_conffile=/etc/emacs/site-start.d/50git-core.el # Carry over modifications so git-el can use them. if dpkg --compare-versions "$2" lt '1:1.7.4.1-2~' && ! test -e "$removed_conffile" && test -r "$removed_conffile".dpkg-bak; then mv "$removed_conffile".dpkg-bak "$removed_conffile" fi