Dear Maintainer, Attached is a patch which I believe fixes #504793 without requiring dependencies on any additional packages.
Questions or comments are welcome. Thanks, -- Plasma
diff -Nru readline-8.2/debian/changelog readline-8.2/debian/changelog --- readline-8.2/debian/changelog 2023-01-03 14:49:45.000000000 -0600 +++ readline-8.2/debian/changelog 2023-11-25 22:40:41.000000000 -0600 @@ -1,3 +1,13 @@ +readline (8.2-1.4) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Make inputrc a conffile. (Closes: #504793) + * d/readline-common.postinst: Remove, no longer needed. + * d/readline-common.postrm: Remove, no longer needed. + * d/rules: Remove empty /etc directory from libreadline8. + + -- David (Plasma) Paul <davidp...@librem.one> Sat, 25 Nov 2023 22:40:41 -0600 + readline (8.2-1.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru readline-8.2/debian/readline-common.postinst readline-8.2/debian/readline-common.postinst --- readline-8.2/debian/readline-common.postinst 2009-08-29 05:34:33.000000000 -0500 +++ readline-8.2/debian/readline-common.postinst 1969-12-31 18:00:00.000000000 -0600 @@ -1,13 +0,0 @@ -#! /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 - -#DEBHELPER# --- readline-8.2/debian/readline-common.postrm 2009-08-29 05:34:33.000000000 -0500 +++ readline-8.2/debian/readline-common.postrm 1969-12-31 18:00:00.000000000 -0600 @@ -1,8 +0,0 @@ -#! /bin/sh -e - -case "$1" in - purge) - rm -f /etc/inputrc -esac - -#DEBHELPER# --- readline-8.2/debian/rules 2022-11-11 00:26:09.000000000 -0600 +++ readline-8.2/debian/rules 2023-11-25 22:40:41.000000000 -0600 @@ -250,7 +250,6 @@ : # move $(p_rl) dh_installdirs -p$(p_rl) \ - etc \ lib/$(DEB_HOST_MULTIARCH) \ usr/share/doc cp -a $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.* $(d_rl)/lib/$(DEB_HOST_MULTIARCH)/ @@ -273,6 +272,7 @@ $(d_comm)/usr/share/man/man3/readline.3readline mv $(d)/usr/share/info/rluserman.info $(d_comm)/usr/share/info/. install -m 644 debian/inputrc $(d_comm)/usr/share/readline/ + install -m 644 debian/inputrc $(d_comm)/etc/ : # move $(p_rld) dh_installdirs -p$(p_rld) \ @@ -338,6 +338,7 @@ dh_installdirs -p$(p_commu) \ usr/share/readline install -m 644 debian/inputrc $(d_commu)/usr/share/readline/ + install -m 644 debian/inputrc $(d_commu)/etc/ endif ifneq ($(build32),)