Fix package-installs-into-obsolete-dir Install bash_completion script in usr/share/bash-completion/completions

debian
Sylvestre Ledru 2020-02-17 11:53:12 +01:00
parent c2961f750b
commit 4477393c41
2 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View File

@ -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.

4
debian/rules vendored
View File

@ -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