media-gfx/gimp: update live ebuild, fix plugins dir path

Closes: https://bugs.gentoo.org/931152

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/36563
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Sergey Torokhov
2024-05-05 15:00:30 +03:00
committed by Joonas Niilola
parent 5ea5594ce1
commit 28dfc09c66

View File

@@ -208,7 +208,7 @@ _rename_plugins() {
einfo 'Renaming plug-ins to not collide with pre-2.10.6 file layout (bug #664938)...'
local prename=gimp-org-
(
cd "${ED}"/usr/$(get_libdir)/gimp/2.99/plug-ins || exit 1
cd "${ED}"/usr/$(get_libdir)/gimp/3.0/plug-ins || exit 1
for plugin_slash in $(ls -d1 */); do
plugin=${plugin_slash%/}
if [[ -f ${plugin}/${plugin} ]]; then