[Debian-tex-commits] SVN tex-common commit + diffs: r3344 - in tex-common/trunk: debian scripts

Frank Küster frank at alioth.debian.org
Sun Apr 20 17:03:28 UTC 2008


Author: frank
Date: 2008-04-20 17:03:27 +0000 (Sun, 20 Apr 2008)
New Revision: 3344

Removed:
   tex-common/trunk/scripts/tetex-bin-upgrade
Modified:
   tex-common/trunk/debian/changelog
Log:
remove tetex-bin-upgrade from the source


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2008-04-19 18:08:41 UTC (rev 3343)
+++ tex-common/trunk/debian/changelog	2008-04-20 17:03:27 UTC (rev 3344)
@@ -9,8 +9,10 @@
     local documentation should be in the texmf tree or in
     /usr/local/share/doc and accessed via a symlink is left to the local
     admin (closes: 475077) [fk]
+  * Removed the tetex-bin-upgrade script from the source, it is not needed
+    nor installed, anyway [fk]
 
- -- Frank Küster <frank at debian.org>  Fri, 18 Apr 2008 21:17:51 +0200
+ -- Frank Küster <frank at debian.org>  Sun, 20 Apr 2008 19:08:09 +0200
 
 tex-common (1.11) unstable; urgency=medium
 

Deleted: tex-common/trunk/scripts/tetex-bin-upgrade
===================================================================
--- tex-common/trunk/scripts/tetex-bin-upgrade	2008-04-19 18:08:41 UTC (rev 3343)
+++ tex-common/trunk/scripts/tetex-bin-upgrade	2008-04-20 17:03:27 UTC (rev 3344)
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-fmtdir=/etc/texmf/fmt.d
-ucf_sourcedir=/usr/share/tex-common
-#UCF="ucf --verbose -d --debconf-ok"
-UCF="ucf --debconf-ok"
-
-oldfile=00tetex.cnf
-newfile=01tetex.cnf
-
-# rename 00tetex.cnf to 01tetex.cnf
-if [ -f $fmtdir/$oldfile ]; then 
-  if [ ! -f $fmtdir/$newfile ]; then
-    # not yet transitioned
-    mv $fmtdir/$oldfile $fmtdir/$newfile
-  else
-    # some older experimental version has installed the new file, but not 
-    # transitioned the old one.
-    current_md5sum=`md5sum $fmtdir/$oldfile | cut -d ' ' -f 1`
-    if [ "$current_md5sum" = "55811af3562faf342261dbc3b5e060a2" ]; then
-      rm $fmtdir/$oldfile
-    else
-      # we do nothing; experimental users should be able to solve this
-      :
-    fi
-  fi
-fi
-
-# an older version of tetex-bin ucf-registered the file with double
-# slashes, this breaks ucf
-if grep -q "/etc/texmf/fmt.d//01tetex.cnf" /var/lib/ucf/hashfile; then
-  $UCF --purge "/etc/texmf/fmt.d//01tetex.cnf"
-fi
-
-$UCF $ucf_sourcedir/$newfile $fmtdir/$newfile




More information about the Debian-tex-commits mailing list