From d1b4ac2b41011983e25616d1cb5c8b86339800a5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 14:43:23 +0200 Subject: Adding debian version 8.1-1. Signed-off-by: Daniel Baumann --- debian/readline-common.postinst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/readline-common.postinst (limited to 'debian/readline-common.postinst') 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# -- cgit v1.2.3