mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user