mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-i18n/rime-data: fix rime-cantonese missing author files.
We should need to check if the documentation file exists before installing it Closes: https://bugs.gentoo.org/946467 Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39712 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
047fe21fd7
commit
737aea9fba
@@ -72,7 +72,9 @@ src_install() {
|
||||
for pkg in "${!LIST[@]}"; do
|
||||
doins "${pkg}-${LIST[$pkg]}"/*[!AUTHORS\|LICENSE\|README.md\|check.py]
|
||||
for f in AUTHORS LICENSE README.md; do
|
||||
newdoc "${pkg}-${LIST[$pkg]}/${f}" "${pkg}_${f}"
|
||||
if [ -f "${pkg}-${LIST[$pkg]}/${f}" ]; then
|
||||
newdoc "${pkg}-${LIST[$pkg]}/${f}" "${pkg}_${f}"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user