Sorry, I attached a wrong patch to my previous e-mail.

Attached to this message I send a patch that works for me.

On Wed, 2020-03-11 at 11:26 +0100, Silvano Cirujano Cuesta wrote:
> Additional input:
> 
> Commit 10c5f39b [1] appears to be the origin of the issue. It expects the 
> bash completions to be
> under debian/tmp/etc, but they get installed to debian/tmp/usr/share.
> 
> [1] 
> https://salsa.debian.org/opensc-team/opensc/-/commit/10c5f39ba255a540cafe7164bfc0382dee0ad24a
From 5f877dc1c4f7e3664208a8b052d86be916ee5c10 Mon Sep 17 00:00:00 2001
From: Silvano Cirujano Cuesta <silvano.cirujano-cue...@siemens.com>
Date: Wed, 11 Mar 2020 11:19:08 +0100
Subject: [PATCH] Fix path to bash completion configs

Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cue...@siemens.com>
---
 debian/opensc.install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/opensc.install b/debian/opensc.install
index 6213ab66..777199fc 100644
--- a/debian/opensc.install
+++ b/debian/opensc.install
@@ -1,5 +1,5 @@
 debian/tmp/usr/bin/*
-debian/tmp/etc/bash_completion.d/* usr/share/bash-completion/completions
+debian/tmp/usr/share/bash-completion/completions/* usr/share/bash-completion/completions
 
 debian/tmp/usr/share/man/man1/*
 debian/tmp/usr/share/man/man5/*
-- 
2.25.1

Reply via email to