From 4477393c414488b24863e030bafb3ab7bfe35915 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 17 Feb 2020 11:53:12 +0100 Subject: [PATCH] Fix package-installs-into-obsolete-dir Install bash_completion script in usr/share/bash-completion/completions --- debian/changelog | 2 ++ debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index e6ab1d88..25ebe3b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ fail2ban (0.11.1-1~exp3) experimental; urgency=medium * nftables is now more important than iptables. Update of the priority and doc (Closes: #946257) * Trim trailing whitespace. + * Fix package-installs-into-obsolete-dir + Install bash_completion script in usr/share/bash-completion/completions * Remove patches neurodebian-backport.series, neurodebian_use_python2, saucy-dsc-patch, trusty-dsc-patch, utopic-dsc-patch, wheezy-dsc- patch that are missing from debian/patches/series. diff --git a/debian/rules b/debian/rules index 5a1d95fa..4ff3c39b 100755 --- a/debian/rules +++ b/debian/rules @@ -42,8 +42,8 @@ override_dh_install: install -d $(DESTDIR)/etc/monit/monitrc.d install -m 644 files/monit/fail2ban $(DESTDIR)/etc/monit/monitrc.d/fail2ban : # Install bash completion - install -d $(DESTDIR)/etc/bash_completion.d - install -m 644 files/bash-completion $(DESTDIR)/etc/bash_completion.d/fail2ban + install -d $(DESTDIR)/usr/share/bash-completion/completions + install -m 644 files/bash-completion $(DESTDIR)/usr/share/bash-completion/completions/fail2ban : # Install systemd files install -d $(DESTDIR)/lib/systemd/system install -d $(DESTDIR)/usr/lib/tmpfiles.d