Change version cutoffs from 1.7.4.1-2 to 1.7.4.1-2~
[git/debian.git] / debian / git.preinst
blob6edf5af3c59ed1032f0cdf2189f8034f9446168c
1 #!/bin/sh
2 set -e
4 # Now /etc/emacs/site-start.d/50git-core.el belongs to the
5 # git-el package. If we are upgrading from a pre- 1.7.4.1-2~
6 # version then git-el is at most unpacked (so its version
7 # is 50git-core.el.dpkg-new if present), and we can remove
8 # an unchanged 50git-core.el file without danger.
10 dpkg-maintscript-helper rm_conffile \
11 /etc/emacs/site-start.d/50git-core.el \
12 1:1.7.4.1-2~~ -- "$@"