summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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#