diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-02 01:55:36 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-02 02:55:45 -0800 |
commit | 54e6240f94f2baecefaeaf4158650d8b27a2b7e9 (patch) | |
tree | 4d855682a391562e350a58419074986ac60baef3 /x11-themes/tela-icon-theme | |
parent | x11-themes/tela-icon-theme: use bash ^ syntax (diff) | |
download | gentoo-54e6240f94f2baecefaeaf4158650d8b27a2b7e9.tar.gz gentoo-54e6240f94f2baecefaeaf4158650d8b27a2b7e9.tar.bz2 gentoo-54e6240f94f2baecefaeaf4158650d8b27a2b7e9.zip |
x11-themes/tela-icon-theme: compact bash syntax a bit
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'x11-themes/tela-icon-theme')
-rw-r--r-- | x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild | 13 | ||||
-rw-r--r-- | 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 |