File: chr-tiny.postinst

package info (click to toggle)
chr 0.1.80-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,512 kB
  • sloc: cpp: 23,305; sh: 27; makefile: 23
file content (16 lines) | stat: -rwxr-xr-x 251 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

case "$1" in

  configure|abort-upgrade)
    update-alternatives --install /usr/bin/editor editor /usr/bin/chr 50 \
    --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
    /usr/share/man/man1/chr.1.gz
  ;;

esac

#DEBHELPER#