commit:     54e6240f94f2baecefaeaf4158650d8b27a2b7e9
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  2 09:55:36 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jan  2 10:55:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54e6240f

x11-themes/tela-icon-theme: compact bash syntax a bit

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild | 13 ++++++-------
 x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild | 13 ++++++-------
 2 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild 
b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild
index 09de04dd50cd..a4310154d7d6 100644
--- a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild
@@ -26,11 +26,12 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="${MY_COLOR_VARIANTS[*]/standard/+standard}"
+IUSE="+${MY_COLOR_VARIANTS[*]}" # this is why standard comes first
 
 REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
 
-RESTRICT="binchecks strip test" # not needed
+# not needed
+RESTRICT="binchecks strip test"
 
 BDEPEND="app-shells/bash"
 
@@ -42,11 +43,9 @@ src_prepare() {
 
 src_install() {
        local v variants=(
-               $(
-                       for v in ${MY_COLOR_VARIANTS[@]}; do
-                               usev ${v}
-                       done
-               )
+               $(for v in ${MY_COLOR_VARIANTS[@]}; do
+                       usev ${v}
+               done)
        )
 
        dodir /usr/share/icons

diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild 
b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
index 09de04dd50cd..a4310154d7d6 100644
--- a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
+++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild
@@ -26,11 +26,12 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="${MY_COLOR_VARIANTS[*]/standard/+standard}"
+IUSE="+${MY_COLOR_VARIANTS[*]}" # this is why standard comes first
 
 REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )"
 
-RESTRICT="binchecks strip test" # not needed
+# not needed
+RESTRICT="binchecks strip test"
 
 BDEPEND="app-shells/bash"
 
@@ -42,11 +43,9 @@ src_prepare() {
 
 src_install() {
        local v variants=(
-               $(
-                       for v in ${MY_COLOR_VARIANTS[@]}; do
-                               usev ${v}
-                       done
-               )
+               $(for v in ${MY_COLOR_VARIANTS[@]}; do
+                       usev ${v}
+               done)
        )
 
        dodir /usr/share/icons

Reply via email to