From 097a688a5248d0e724c31a407201df94c93ad788 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:19:05 +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') 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