diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:43:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:43:23 +0000 |
commit | d1b4ac2b41011983e25616d1cb5c8b86339800a5 (patch) | |
tree | 12fa3c60c9d35479057b187338f24b8149064b03 /debian/readline-common.postinst | |
parent | Adding upstream version 8.1. (diff) | |
download | readline-744f789fa1ea3a2562017df9fa4a7f3417254062.tar.xz readline-744f789fa1ea3a2562017df9fa4a7f3417254062.zip |
Adding debian version 8.1-1.debian/8.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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# |