Skip to content

Commit

Permalink
app-crypt/gcr: Fix removing conflicting files
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/873895
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Oct 1, 2022
1 parent 2d53cac commit 86ecd2d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions app-crypt/gcr/gcr-3.41.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,14 @@ src_install() {
meson_src_install

# These files are installed by gcr:4
rm \
"${ED}"/usr/libexec/gcr-ssh-agent \
"${ED}"/usr/lib/systemd/user/gcr-ssh-agent.service \
"${ED}"/usr/lib/systemd/user/gcr-ssh-agent.socket \
|| die
local conflicts=(
"${ED}"/usr/libexec/gcr-ssh-agent
)
use systemd && conflicts+=(
"${ED}"/usr/lib/systemd/user/gcr-ssh-agent.{service,socket}
)
einfo "${conflicts[@]}"
rm "${conflicts[@]}" || die

if use gtk-doc; then
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
Expand Down

0 comments on commit 86ecd2d

Please sign in to comment.