File: readline-common.postinst

package info (click to toggle)
readline 8.2-1.3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 8,788 kB
  • sloc: ansic: 28,830; sh: 5,837; perl: 4,105; makefile: 1,777
file content (13 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /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

#DEBHELPER#