From 6c7c9289dd9babafadd7133d86fe6b52d1f40428 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 14:44:21 +0200 Subject: Updating /etc/inputrc on update to Progress Linux. Signed-off-by: Daniel Baumann --- debian/readline-common.postinst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian/readline-common.postinst') diff --git a/debian/readline-common.postinst b/debian/readline-common.postinst index 1a664cf..b02500f 100644 --- a/debian/readline-common.postinst +++ b/debian/readline-common.postinst @@ -10,4 +10,9 @@ if [ "$1" = "configure" ] && [ "$2" = "" ]; then install_from_default /usr/share/readline/inputrc /etc/inputrc fi +if [ "$(md5sum /etc/inputrc | cut -d' ' -f1)" = "75858dffc595a0ec73c46a1e5744d087" ]; then + rm -f /etc/inputrc + cp /usr/share/readline/inputrc /etc/inputrc +fi + #DEBHELPER# -- cgit v1.2.3