File: git-bzr.postinst

package info (click to toggle)
git 1%3A1.9.1-1~bpo70%2B2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 27,452 kB
  • sloc: ansic: 148,329; sh: 129,286; perl: 28,811; tcl: 21,214; python: 6,911; makefile: 3,501; lisp: 1,786; php: 120; asm: 98; csh: 45
file content (8 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

cmd=git-remote-bzr
update-alternatives --install \
  /usr/bin/$cmd $cmd /usr/lib/git-core/$cmd--git 50 \
  --slave /usr/share/man/man1/$cmd.1.gz $cmd.1.gz \
          /usr/share/man/man1/$cmd--git.1.gz