diff --git a/gui-apps/satty/satty-0.14.0.ebuild b/gui-apps/satty/satty-0.14.0.ebuild index b5fbbd6017..76135c5be2 100644 --- a/gui-apps/satty/satty-0.14.0.ebuild +++ b/gui-apps/satty/satty-0.14.0.ebuild @@ -261,13 +261,7 @@ src_unpack() { src_install() { dodoc README.md - if use debug ; then - cd target/debug || die - else - cd target/release || die - fi - - dobin satty + dobin "$(cargo_target_dir)"/satty #Just add the icon and desktop file doicon "${S}/assets/satty.svg" domenu "${S}/satty.desktop" diff --git a/gui-apps/satty/satty-9999.ebuild b/gui-apps/satty/satty-9999.ebuild index 1c3a8a837e..262d43dfbe 100644 --- a/gui-apps/satty/satty-9999.ebuild +++ b/gui-apps/satty/satty-9999.ebuild @@ -52,13 +52,7 @@ src_unpack() { src_install() { dodoc README.md - if use debug ; then - cd target/debug || die - else - cd target/release || die - fi - - dobin satty + dobin "$(cargo_target_dir)"/satty #Just add the icon and desktop file doicon "${S}/assets/satty.svg" domenu "${S}/satty.desktop"