File: fix-install-dir-of-completion-files.patch

package info (click to toggle)
publican 4.3.2-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 18,364 kB
  • sloc: javascript: 17,390; perl: 13,081; xml: 11,558; makefile: 167; python: 29; sh: 29
file content (27 lines) | stat: -rw-r--r-- 950 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= <hertzog@debian.org>
Date: Fri, 14 Mar 2025 16:44:12 +0100
Subject: Fix installation directory of completion files

/usr/share/bash-completion/completions is the new preferred
directory for those files.

Origin: vendor
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1257742
Last-Update: 2015-08-27
---
 Build.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Build.PL b/Build.PL
index 5ed5461..280b1bf 100644
--- a/Build.PL
+++ b/Build.PL
@@ -458,7 +458,7 @@ my $builder = $class->new(
         'book_templates' => '/usr/share/publican/book_templates',
         'rpm_templates'  => '/usr/share/publican/rpm_templates',
         'etc'            => '/etc',
-        'completion'     => '/etc/bash_completion.d',
+        'completion'     => '/usr/share/bash-completion/completions',
         'docdir'         => '/usr/share/doc/',
         'locale'         => '/usr/share/locale',
     },