[pacman-dev] [PATCH] Make bash-completion optional
Allan McRae
allan at archlinux.org
Fri May 8 01:32:35 UTC 2020
On 8/5/20 5:40 am, wwijsman at live.nl wrote:
> On Thu, 2020-05-07 at 15:21 -0400, Eli Schwartz wrote:
>> The problem should only happen during install, not during build. I
>> presume that it is trying to install to e.g.
>> /usr/share/bash-completion/completions/pacman and raising a
>> PermissionError?
>
> That is true, my bad, it only fails upon installation and only if you
> deny it root access. /usr/share/bash-completion is used regardless of
> prefix for both build systems, so I assumed that was intended,
> especially since it wouldn't work if it was in any other place.
>
So the real error here that --prefix is ignored for bash-completion?
It would be better to solve the problem than to work around it.
A
More information about the pacman-dev
mailing list