summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:44:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:44:21 +0000
commit6c7c9289dd9babafadd7133d86fe6b52d1f40428 (patch)
treedef07e18531761e74e2c0dca94efaabe9fc3cf04
parentSetting colored-stats to on. (diff)
downloadreadline-6c7c9289dd9babafadd7133d86fe6b52d1f40428.tar.xz
readline-6c7c9289dd9babafadd7133d86fe6b52d1f40428.zip
Updating /etc/inputrc on update to Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/readline-common.postinst5
1 files changed, 5 insertions, 0 deletions
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#