media-video/aegisub: Fix locale configure error

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

Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
This commit is contained in:
Nick Sarnie 2025-02-13 19:25:49 +09:00
parent 276dbab1c6
commit c7fb5910f4
No known key found for this signature in database
GPG Key ID: B908315E6CDAB6E3
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,7 @@ src_prepare() {
rm automation/tests/modules/lfs.moon || die
remove_locale() {
sed -i -e "s/^${1}\(@latin\)\?//g" po/LINGUAS || die
rm "po/${1}.po" || die
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -99,6 +99,7 @@ src_prepare() {
rm automation/tests/modules/lfs.moon || die
remove_locale() {
sed -i -e "s/^${1}\(@latin\)\?//g" po/LINGUAS || die
rm "po/${1}.po" || die
}