media-gfx/hugin: fix UnnecessarySlashStrip

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-01-27 03:21:56 +00:00
parent 72300925e9
commit 1daafbbefc
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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=6
@@ -99,7 +99,7 @@ src_install() {
*) dir=${lang/-/_};;
esac
if ! use l10n_${lang} ; then
rm -r "${ED%/}"/usr/share/locale/${dir} || die
rm -r "${ED}"/usr/share/locale/${dir} || die
fi
done
}
+2 -2
View File
@@ -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
@@ -92,7 +92,7 @@ src_install() {
*) dir=${lang/-/_};;
esac
if ! use l10n_${lang} ; then
rm -r "${ED%/}"/usr/share/locale/${dir} || die
rm -r "${ED}"/usr/share/locale/${dir} || die
fi
done
}