commit:     45d18c5b17003caa77878b44c1cc6088d47cf8a6
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 16:42:52 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 16:43:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45d18c5b

x11-themes/windowmaker-themes: fix USE=offensive

Update list of themes filtered out by this flag

Closes: https://bugs.gentoo.org/778287
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 .../windowmaker-themes/windowmaker-themes-0.1-r1.ebuild | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/x11-themes/windowmaker-themes/windowmaker-themes-0.1-r1.ebuild 
b/x11-themes/windowmaker-themes/windowmaker-themes-0.1-r1.ebuild
index 985047da31a..974c392ea86 100644
--- a/x11-themes/windowmaker-themes/windowmaker-themes-0.1-r1.ebuild
+++ b/x11-themes/windowmaker-themes/windowmaker-themes-0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,10 +21,19 @@ RDEPEND="x11-wm/windowmaker"
 BDEPEND=""
 
 src_prepare() {
-       MY_OFFENSIVE="3white Anguish"
+       MY_OFFENSIVE=(
+               3White
+               Anguish
+               Crave
+               "Darwins iMac"
+               "Digital Girls"
+               "Imacgirl Grape"
+               "Red Slip"
+               WMSecksy
+       )
        if ! use offensive ; then
-               for j in ${MY_OFFENSIVE} ; do
-                       rm -rf ${MY_OFFENSIVE}.themed
+               for j in "${MY_OFFENSIVE[@]}" ; do
+                       rm -rf "${j}".themed
                done
        fi
 

Reply via email to