Skip to content

Commit

Permalink
app-emulation/virt-manager: fix dying rm with USE="-gui"
Browse files Browse the repository at this point in the history
Bug was closed by using {a,b}

Closes: https://bugs.gentoo.org/947645
Signed-off-by: Filip Kobierski <[email protected]>
Closes: gentoo#40024
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
fkobi authored and thesamesam committed Jan 7, 2025
1 parent ac04df2 commit 54e1adf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app-emulation/virt-manager/virt-manager-5.0.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ src_install() {

if ! use gui; then
rm -r "${ED}/usr/share/applications/${PN}.desktop" || die
rm -r "${ED}/usr/share/${PN}/{ui,icons}/" || die
rm -r "${ED}/usr/share/${PN}/icons/" || die
rm -r "${ED}/usr/share/${PN}/ui/" || die
rm -r "${ED}/usr/share/icons/" || die
rm -r "${ED}/usr/bin/${PN}" || die
fi
Expand Down
3 changes: 2 additions & 1 deletion app-emulation/virt-manager/virt-manager-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ src_install() {

if ! use gui; then
rm -r "${ED}/usr/share/applications/${PN}.desktop" || die
rm -r "${ED}/usr/share/${PN}/{ui,icons}/" || die
rm -r "${ED}/usr/share/${PN}/icons/" || die
rm -r "${ED}/usr/share/${PN}/ui/" || die
rm -r "${ED}/usr/share/icons/" || die
rm -r "${ED}/usr/bin/${PN}" || die
fi
Expand Down

0 comments on commit 54e1adf

Please sign in to comment.