File: rlwrap.postinst

package info (click to toggle)
rlwrap 0.42-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,288 kB
  • ctags: 804
  • sloc: ansic: 5,403; sh: 4,238; perl: 1,270; ruby: 254; 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#