eclass/texlive-common.eclass: fix texlive-common_is_file_present_in_texmf.

Function was not returning if the file was found or not. Always returned true.

Fixes: [dcfc5829e7] texlive-common.eclass: kill POSIXism

Closes: https://bugs.gentoo.org/736872
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2020-08-12 14:25:45 +02:00
parent c2573621f2
commit bb12aac76a
+1
View File
@@ -64,6 +64,7 @@ texlive-common_is_file_present_in_texmf() {
if [[ -d texmf-dist ]]; then
find texmf-dist -name ${1} -exec touch ${mark} {} + || die
fi
[ -f "${mark}" ]
}
# @FUNCTION: texlive-common_do_symlinks