Skip to content

Commit

Permalink
media-fonts/source-han-sans: *.otf does not exist
Browse files Browse the repository at this point in the history
The directory containing the .otf files should be "${S}/source-han-sans-zh_TW-1.001", for example, instead of "${S}/source-han-sans-zh-TW-1.001" (zh_TW instead of zh-TW).
Closes: gentoo#1771

Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
namcap authored and monsieurp committed Jun 28, 2016
1 parent 3432419 commit 70d4537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media-fonts/source-han-sans/source-han-sans-1.001.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RESTRICT="binchecks strip"

src_install() {
for l in ja ko zh-CN zh-TW; do
use l10n_${l} && FONT_S="${S}/source-han-sans-${l}-${PV}" font_src_install
use l10n_${l} && FONT_S="${S}/source-han-sans-${l//-/_}-${PV}" font_src_install
done
dodoc source-han-sans-*-${PV}/*md source-han-sans-*-${PV}/*pdf
}

0 comments on commit 70d4537

Please sign in to comment.