Skip to content

Commit

Permalink
gui-libs/greetd: fix installation with USE=debug
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/889052
Signed-off-by: John Helmert III <[email protected]>
  • Loading branch information
ajakk committed Dec 31, 2022
1 parent f69037a commit e042f4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gui-libs/greetd/greetd-0.8.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ src_compile() {
}

src_install() {
dobin target/release/{agreety,fakegreet,greetd}
# if USE=debug, install binaries from the debug directory; else
# install binaries from the release directory
# https://bugs.gentoo.org/889052
dobin target/$(usex debug debug release)/{agreety,fakegreet,greetd}

insinto /etc/greetd
doins config.toml
Expand Down

0 comments on commit e042f4f

Please sign in to comment.