summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-08-30 08:52:40 +0300
committerSam James <sam@gentoo.org>2023-08-30 07:33:18 +0100
commit451f421407456cf6be892d3936dccb7292b1e414 (patch)
treeb43bcda07853749899b0d8448be8215287762eaa /media-fonts
parentx11-libs/gtk+: use double brackets for glob existence check (diff)
downloadgentoo-451f421407456cf6be892d3936dccb7292b1e414.tar.gz
gentoo-451f421407456cf6be892d3936dccb7292b1e414.tar.bz2
gentoo-451f421407456cf6be892d3936dccb7292b1e414.zip
media-fonts/culmus: use simpler use condition
The previous code had `$((` which might be mistaken for arithmetic expansion. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/culmus/culmus-0.120-r6.ebuild2
-rw-r--r--media-fonts/culmus/culmus-0.133-r1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-fonts/culmus/culmus-0.120-r6.ebuild b/media-fonts/culmus/culmus-0.120-r6.ebuild
index 4e6685e00d5e..537493bad9c4 100644
--- a/media-fonts/culmus/culmus-0.120-r6.ebuild
+++ b/media-fonts/culmus/culmus-0.120-r6.ebuild
@@ -170,7 +170,7 @@ src_compile() {
src_install() {
einstalldocs
- FONT_SUFFIX="pfa afm $((use fancy || use taamey) && echo ttf)" \
+ FONT_SUFFIX="pfa afm $(use fancy || use taamey && echo ttf)" \
font_src_install
rm -rf "${FONT_S}" || die
diff --git a/media-fonts/culmus/culmus-0.133-r1.ebuild b/media-fonts/culmus/culmus-0.133-r1.ebuild
index c7646d9677f6..5e894c736430 100644
--- a/media-fonts/culmus/culmus-0.133-r1.ebuild
+++ b/media-fonts/culmus/culmus-0.133-r1.ebuild
@@ -172,7 +172,7 @@ src_compile() {
src_install() {
einstalldocs
- FONT_SUFFIX="pfa afm $((use fancy || use taamey) && echo ttf)" \
+ FONT_SUFFIX="pfa afm $(use fancy || use taamey && echo ttf)" \
font_src_install
rm -rf "${FONT_S}" || die