File: preinst

package info (click to toggle)
gnuit 4.9.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 5,068 kB
  • ctags: 4,821
  • sloc: ansic: 28,673; sh: 4,843; makefile: 328
file content (11 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if update-alternatives --list git | fgrep /usr/bin/git.transition >/dev/null
then
    update-alternatives --auto git
    update-alternatives --remove git /usr/bin/git.transition
fi

#DEBHELPER#