#! /bin/sh -e install_from_default() { if [ ! -f $2 ]; then cp -p $1 $2 fi } 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#