1
0
Dr. Werner Fink 2017-07-18 13:51:18 +00:00 committed by Git OBS Bridge
parent 0f175d59a1
commit 10726fd847
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 18 13:50:34 UTC 2017 - werner@suse.de
- Even more speedup for update.texlive, that is remove empty
work load directory
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 18 11:02:31 UTC 2017 - werner@suse.de Tue Jul 18 11:02:31 UTC 2017 - werner@suse.de

View File

@ -19,6 +19,9 @@
# Author: Werner Fink, 1997-2012,2016 # Author: Werner Fink, 1997-2012,2016
# #
# Empty directory means nothing todo
test -d /var/run/texlive || exit 0
typeset -r OLDIFS="$IFS" typeset -r OLDIFS="$IFS"
typeset -i rc=0 typeset -i rc=0
: ${VERBOSE=true} : ${VERBOSE=true}
@ -38,8 +41,6 @@ LANG=POSIX
MKTEXLSR=true MKTEXLSR=true
export LANG MKTEXLSR export LANG MKTEXLSR
mkdir -p /var/run/texlive || exit 0
# #
# Sanity check # Sanity check
# #
@ -60,6 +61,8 @@ rotator ()
atexit() atexit()
{ {
exec 4>&- exec 4>&-
# Empty directory means nothing todo
rm -r /var/run/texlive || :
} }
if test $VERBOSE = true ; then if test $VERBOSE = true ; then