media-gfx/shotwell: Unconditionally install en_GB to make check more robust
authorJustin Lecher <jlec@gentoo.org>
Sat, 10 Oct 2015 19:10:50 +0000 (21:10 +0200)
committerJustin Lecher <jlec@gentoo.org>
Sun, 11 Oct 2015 07:05:16 +0000 (09:05 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
media-gfx/shotwell/shotwell-0.22.0-r1.ebuild

index 9e2380f6b456d84988e301fa11aa7e8b743addf4..b41ec6e16cd918e07944a877810fdbcefa7febea 100644 (file)
@@ -92,8 +92,7 @@ src_prepare() {
                        sed -i "/^${x}$/d" "${S}"/po/LINGUAS || die
                fi
        done
-       [[ $(wc -l "${S}"/po/LINGUAS | awk '{print $1}') == 0 ]] &&
-               echo en_GB > "${S}"/po/LINGUAS
+       echo en_GB >> "${S}"/po/LINGUAS
 }
 
 src_configure() {