Debian Codegraph @

debian/readline-common.postinst

raw
1 #! /bin/sh -e
2
3 install_from_default() {
4 if [ ! -f $2 ]; then
5 cp -p $1 $2
6 fi
7 }
8
9 if [ "$1" = "configure" ] && [ "$2" = "" ]; then
10 install_from_default /usr/share/readline/inputrc /etc/inputrc
11 fi
12
13 #DEBHELPER#