File: readline-common.postinst

package info (click to toggle)
readline5 5.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 6,060 kB
  • ctags: 3,013
  • sloc: ansic: 22,060; sh: 4,229; perl: 4,105; makefile: 1,525
file content (16 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh -e

install_from_default() {
  if [ ! -f $2 ]; then
    cp -p $1 $2
  fi
}

if [ "$1" = "configure" ] && [ "$2" = "" ]; then
  install_from_default /usr/share/readline/inputrc /etc/inputrc
fi

install-info --quiet --section "Miscellaneous" "Miscellaneous" \
  --description="GNU Readline Library API" /usr/share/info/rluserman.info.gz

#DEBHELPER#