diff options
Diffstat (limited to 'debian/readline-common.postinst')
-rw-r--r-- | debian/readline-common.postinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/readline-common.postinst b/debian/readline-common.postinst new file mode 100644 index 0000000..1a664cf --- /dev/null +++ b/debian/readline-common.postinst @@ -0,0 +1,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# |