forked from pool/texlive-filesystem
.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=42
This commit is contained in:
parent
18afa5ff34
commit
e15b7c9198
@ -207,8 +207,8 @@ has_formats()
|
||||
test ${line[2]} = "-" && continue
|
||||
let last=${#line[@]}
|
||||
let last--
|
||||
TEXMF=$TEXMFSYSCONFIG kpsewhich -progname=${line[0]} -format=tex ${line[last]#\*} &>/dev/null || continue
|
||||
hyphen=$(TEXMF=$TEXMFSYSCONFIG kpsewhich -progname=${line[0]} -format=tex ${line[2]} 2>/dev/null)
|
||||
kpsewhich -progname=${line[0]} -format=tex ${line[last]#\*} &>/dev/null || continue
|
||||
hyphen=$(kpsewhich -progname=${line[0]} -format=tex ${line[2]} 2>/dev/null)
|
||||
test -n "$hyphen" -a -e "$hyphen" -a "$hyphen" = "$1" || continue
|
||||
return 0
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user