File: rlwrap.postinst

package info (click to toggle)
rlwrap 0.37-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,084 kB
  • sloc: ansic: 5,208; sh: 3,852; perl: 1,255; ruby: 232; makefile: 41
file content (13 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

case "$1" in
  configure)
    update-alternatives \
      --install /usr/bin/readline-editor readline-editor /usr/bin/rlwrap 60 \
      --slave /usr/share/man/man1/readline-editor.1.gz readline-editor.1.gz /usr/share/man/man1/rlwrap.1.gz
    ;;
esac

#DEBHELPER#