.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=99
This commit is contained in:
parent
35c9a03503
commit
ba50ec136a
@ -158,10 +158,9 @@ type -p md5sum &> /dev/null || exit 0
|
||||
# We need a check for an already modified texlive configuration:
|
||||
# therefore we use md5 check sums.
|
||||
#
|
||||
if test -z "$MD5DIR" ; then
|
||||
LIBDIR=/var/lib/texmf
|
||||
MD5DIR=$LIBDIR/md5
|
||||
fi
|
||||
LIBDIR=/var/lib/texmf
|
||||
MD5DIR=$LIBDIR/md5
|
||||
OLDMD5DIR=/var/adm/SuSEconfig/md5
|
||||
mkdir -p $MD5DIR
|
||||
test $? -gt 0 && exit 0
|
||||
|
||||
@ -181,6 +180,19 @@ test -n "${cnf_xdvi}" || exit 0
|
||||
test -n "${cnf_dvips}" || exit 0
|
||||
test -n "${cnf_lang}" || exit 0
|
||||
|
||||
for cfg in ${cnf_mfont} ${cnf_xdvi} ${cnf_dvips} ${cnf_lang} cups ; do
|
||||
test -s ${OLDMD5DIR}${cfg} || continue
|
||||
if test -e ${MD5DIR}${cfg} ; then
|
||||
if test -a ${MD5DIR}${cfg} -nt ${OLDMD5DIR}${cfg} ; then
|
||||
rm -f ${OLDMD5DIR}${cfg}
|
||||
continue
|
||||
fi
|
||||
else
|
||||
mkdir -p ${MD5DIR}${cfg%/*}
|
||||
fi
|
||||
mv -f ${OLDMD5DIR}${cfg} ${MD5DIR}${cfg}
|
||||
done
|
||||
|
||||
md5_mfont=${MD5DIR}${cnf_mfont}
|
||||
md5_xdvi=${MD5DIR}${cnf_xdvi}
|
||||
md5_dvips=${MD5DIR}${cnf_dvips}
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 15:22:47 UTC 2012 - werner@suse.de
|
||||
|
||||
- Move old SuSEconfig file to new location
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 10:53:41 UTC 2012 - werner@suse.de
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 15:22:47 UTC 2012 - werner@suse.de
|
||||
|
||||
- Move old SuSEconfig file to new location
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 10:53:41 UTC 2012 - werner@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user