File: rlwrap.postinst

package info (click to toggle)
rlwrap 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,180 kB
  • ctags: 797
  • sloc: ansic: 5,328; sh: 3,954; perl: 1,270; ruby: 232; makefile: 52
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#