Hello community,

here is the log from the commit of package texlive-filesystem for 
openSUSE:Factory checked in at 2020-10-08 13:07:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/texlive-filesystem (Old)
 and      /work/SRC/openSUSE:Factory/.texlive-filesystem.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "texlive-filesystem"

Thu Oct  8 13:07:20 2020 rev:46 rq:839106 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/texlive-filesystem/texlive-filesystem.changes    
2020-05-29 21:19:15.951398969 +0200
+++ 
/work/SRC/openSUSE:Factory/.texlive-filesystem.new.4249/texlive-filesystem.changes
  2020-10-08 13:08:38.370979880 +0200
@@ -1,0 +2,7 @@
+Fri Oct  2 07:39:05 UTC 2020 - Dr. Werner Fink <[email protected]>
+
+- Enhance update script to detect user changes in configuration
+  files to warn the user.  Also run texlinks script to be sure
+  that local configuration fits the linked engines (boo#1176557)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ update.texlive ++++++
--- /var/tmp/diff_new_pack.d1w7sw/_old  2020-10-08 13:08:40.830982107 +0200
+++ /var/tmp/diff_new_pack.d1w7sw/_new  2020-10-08 13:08:40.830982107 +0200
@@ -120,6 +120,8 @@
 : ${TEXMFDIST:=$(kpsewhich --expand-path='$TEXMFDIST' 2> /dev/null)}
 : ${TEXMFVAR:=$(kpsewhich --var-value=TEXMFVAR 2> /dev/null)}
 : ${TEXMFCNFFILE:=$(kpsewhich texmf.cnf 2> /dev/null)}
+: ${FMTUTILCNFFILE:=$(kpsewhich fmtutil.cnf 2> /dev/null)}
+: ${TEXLUACNFFILE:=$(kpsewhich -format=web2c texmfcnf.lua 2> /dev/null)}
 : ${TEXMFSYSCONFIG:=$(kpsewhich --expand-path='$TEXMFSYSCONFIG' 2> /dev/null)}
 : ${TEXMFLSR:=$(kpsewhich --show-path=ls-R 2> /dev/null)}
 : ${WEB2C:=$TEXMFVAR/web2c}
@@ -134,6 +136,39 @@
 fi
 
 #
+# Check for old configurations and inform system admin to check those
+#
+typeset -i mail=0
+typeset -a list=()
+for cnf in ${TEXMFCNFFILE} ${FMTUTILCNFFILE} ${TEXLUACNFFILE}
+do
+    test -e ${cnf}.rpmnew || continue
+    list[mail++]=${cnf}
+done
+if ((mail > 0))
+then
+    mailx -s "TeXLive Update: Warning about changed configurations" 
root@localhost <<-EOF
+       Hello,
+
+       the update script has found one or more changed configuration files:
+
+       $(for cnf in ${list[@]}; do echo "    ${cnf}"; done)
+
+       Please (if required) port the changes to the files with suffix .rpmnew!
+       Always move those rpmnew files to the original location:
+
+       $(for cnf in ${list[@]}; do echo "    mv ${cnf}.rpmnew ${cnf}"; done)
+
+       afterwards run as root:
+
+           /usr/share/texmf/texconfig/update force
+
+       to get your configuration work again.
+       EOF
+fi
+unset mail list cnf
+
+#
 # Check for scriplets
 #
 for run in /var/run/texlive/scriptlets/* ; do
@@ -193,6 +228,16 @@
 done
 unset hyp suffix
 
+#
+# Be sure that the TeX Links do fit the configuration in fmtutil.cnf
+#
+if type -p texlinks &> /dev/null
+then
+    test $VERBOSE = true && { echo -en "\r[ ]Updating TeX links"; let nl++; }
+    texlinks < /dev/null 1>&4 2>&4
+    ((nl == 0)) || { echo; let nl=0; }
+fi
+
 init=false
 typeset -i yes=0
 while read format engine language rest


Reply via email to