summaryrefslogtreecommitdiffstats
path: root/debian/git-core.preinst
blob: 33233c3ccaad9825259b4e7700021b55c15674da (plain)
1
2
3
4
5
6
7
#!/bin/sh
set -e

#DEBHELPER#

test -z "$2" || dpkg --compare-versions "$2" gt '1:1.5.2~rc3-2' ||
  exec update-alternatives --remove git /usr/bin/git-scm