summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:53:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:53:01 +0000
commit3717c78e8f06d5beec39a63f20b15c3aaf289691 (patch)
tree586ef09a30281a6289d071ee24e2a4d9b0ec6829
parentUpdating vcs fields. (diff)
downloadreadline-3717c78e8f06d5beec39a63f20b15c3aaf289691.tar.xz
readline-3717c78e8f06d5beec39a63f20b15c3aaf289691.zip
Updating /etc/inputrc on update to Progress Linux.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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..0806186 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)" = "e7d81f20943fc812b66b3ee56f5f68ce" ]; then
+ rm -f /etc/inputrc
+ cp /usr/share/readline/inputrc /etc/inputrc
+fi
+
#DEBHELPER#