summaryrefslogtreecommitdiffstats
path: root/debian/readline-common.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:19:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:19:05 +0000
commit097a688a5248d0e724c31a407201df94c93ad788 (patch)
treec23e7f31f7de70d60beeaca91386c25b263158ee /debian/readline-common.postinst
parentSetting colored-stats to on. (diff)
downloadreadline-097a688a5248d0e724c31a407201df94c93ad788.tar.xz
readline-097a688a5248d0e724c31a407201df94c93ad788.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#