File: rlwrap.postinst

package info (click to toggle)
rlwrap 0.43-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 780 kB
  • sloc: ansic: 5,849; perl: 1,501; python: 771; ruby: 246; makefile: 46; sh: 23
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#