diff --git a/debian/changelog b/debian/changelog index 0579f613e..598f4d8c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ freeipa (4.12.2-1) UNRELEASED; urgency=medium it now. (Closes: #1072168) * use-raw-strings.diff: Dropped, upstream. * control: Build-depend on systemd-dev instead of systemd. + * rules: Fix installing bash-completions. (Closes: #1089329) -- Timo Aaltonen Mon, 09 Dec 2024 12:17:20 +0200 diff --git a/debian/rules b/debian/rules index bac5a0ba1..6b78e8851 100755 --- a/debian/rules +++ b/debian/rules @@ -84,10 +84,8 @@ ifneq ($(ONLY_CLIENT), 1) touch $(DESTDIR)/usr/share/ipa/html/krbrealm.con endif - mkdir -p $(DESTDIR)/usr/share/bash-completion/completions \ - install -m 0644 contrib/completion/ipa.bash_completion \ - $(DESTDIR)/usr/share/bash-completion/completions/ipa - rm -rf $(DESTDIR)/etc/bash_completion.d + mkdir -p $(DESTDIR)/usr/share/bash-completion/completions + mv $(DESTDIR)/etc/bash_completion.d/ipa $(DESTDIR)/usr/share/bash-completion/completions # purge .la files find $(CURDIR)/debian/tmp -name "*.la" -type f -exec rm -f "{}" \;