A binary only TeXLive installation is an fatal error
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=98
This commit is contained in:
parent
151fc108c6
commit
cd6097a505
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 20 12:12:19 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- A binary only TeXLive installation is an fatal error
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 19 09:06:49 UTC 2018 - werner@suse.de
|
Tue Jun 19 09:06:49 UTC 2018 - werner@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package texlive-filesystem
|
# spec file for package texlive-filesystem
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
@ -186,6 +186,7 @@ done
|
|||||||
unset hyp suffix
|
unset hyp suffix
|
||||||
|
|
||||||
init=false
|
init=false
|
||||||
|
typeset -i yes=0
|
||||||
while read format engine language rest
|
while read format engine language rest
|
||||||
do
|
do
|
||||||
line=($rest)
|
line=($rest)
|
||||||
@ -200,12 +201,13 @@ do
|
|||||||
fmt="${WEB2C}/$engine/$fmt"
|
fmt="${WEB2C}/$engine/$fmt"
|
||||||
if test ! -e "$fmt"
|
if test ! -e "$fmt"
|
||||||
then
|
then
|
||||||
# init=true
|
inifile=$(kpsewhich -progname=$format -format=$kpse $inifile 2>/dev/null) || continue
|
||||||
# > /var/run/texlive/run-fmtutil
|
let yes++
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
test "$fmt" -nt "$TEXMFCNFFILE" || init=true
|
test "$fmt" -nt "$TEXMFCNFFILE" || init=true
|
||||||
inifile=$(kpsewhich -progname=$format -format=$kpse $inifile 2>/dev/null) || continue
|
inifile=$(kpsewhich -progname=$format -format=$kpse $inifile 2>/dev/null) || continue
|
||||||
|
let yes++
|
||||||
test "$fmt" -nt "$inifile" && continue
|
test "$fmt" -nt "$inifile" && continue
|
||||||
case "$engine" in
|
case "$engine" in
|
||||||
mpost) fmtutil-sys --byfmt "$egine" < /dev/null 1>&4 2>&4 ;;
|
mpost) fmtutil-sys --byfmt "$egine" < /dev/null 1>&4 2>&4 ;;
|
||||||
@ -215,6 +217,14 @@ do
|
|||||||
done < <(sed -r "/^(\#.*|[[:blank:]]*)$/d" "$cnf_fmtu")
|
done < <(sed -r "/^(\#.*|[[:blank:]]*)$/d" "$cnf_fmtu")
|
||||||
unset format engine language rest line last inifile fmt kpse engine
|
unset format engine language rest line last inifile fmt kpse engine
|
||||||
|
|
||||||
|
if ((yes == 0)) ; then
|
||||||
|
echo "${0##*/}: This TeXLive installation is broken!" 1>&2
|
||||||
|
echo "${0##*/}: Only programs are found but no init file(s) at all. You might install" 1>&2
|
||||||
|
echo "${0##*/}: e.g. texlive-collection-latex or any other texlive-collection package." 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
unset yes
|
||||||
|
|
||||||
if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" -a -n "${cnf_llua}" ; then
|
if test -n "${cnf_ldat}" -a -n "${cnf_ldef}" -a -n "${cnf_llua}" ; then
|
||||||
for cfg in ${cnf_ldat} ${cnf_ldef} ${cnf_llua} ; do
|
for cfg in ${cnf_ldat} ${cnf_ldef} ${cnf_llua} ; do
|
||||||
test -s ${OLDMD5DIR}${cfg} || continue
|
test -s ${OLDMD5DIR}${cfg} || continue
|
||||||
|
Loading…
Reference in New Issue
Block a user