[subversion-commit] SVN tetex commit + diffs: r213 - tetex-bin/trunk/debian

Frank Küster frank at costa.debian.org
Wed Oct 12 07:47:31 UTC 2005


Author: frank
Date: 2005-10-12 07:47:31 +0000 (Wed, 12 Oct 2005)
New Revision: 213

Modified:
   tetex-bin/trunk/debian/changelog
   tetex-bin/trunk/debian/postinst.in
Log:
remove ls-R code from postinst (now in tex-common)

Modified: tetex-bin/trunk/debian/changelog
===================================================================
--- tetex-bin/trunk/debian/changelog	2005-10-11 09:28:27 UTC (rev 212)
+++ tetex-bin/trunk/debian/changelog	2005-10-12 07:47:31 UTC (rev 213)
@@ -16,8 +16,11 @@
     #332114) [frank]
   * quilt is now a proper Build-dependency, not only for -indep targets,
     thanks to Kurt Roeckx <kurt at roeckx.be> (closes: #332840) [frank]
+  * Remove the code for handling permissions of ls-R files.  This is now
+    done by tex-common.  Since we are still in experimental, I don't
+    increase the versioned dependency on tex-common.
 
- -- Frank Küster <frank at debian.org>  Tue, 11 Oct 2005 11:11:14 +0200
+ -- Frank Küster <frank at debian.org>  Wed, 12 Oct 2005 09:46:30 +0200
 
 tetex-bin (3.0-7) experimental; urgency=low
 

Modified: tetex-bin/trunk/debian/postinst.in
===================================================================
--- tetex-bin/trunk/debian/postinst.in	2005-10-11 09:28:27 UTC (rev 212)
+++ tetex-bin/trunk/debian/postinst.in	2005-10-12 07:47:31 UTC (rev 213)
@@ -155,6 +155,10 @@
       done
     fi
 
+# upgrade from some experimental versions
+    obsolete_fmtf=/etc/texmf/fmt.d/00tetex.cnf
+    # TODO: needs a transition to 01tetex.cnf, including ucf and all that
+
 # normal install
     update-alternatives --install /usr/bin/xdvi.bin xdvi.bin /usr/bin/xdvi.real 30
     update-alternatives --install /usr/bin/oxdvi.bin oxdvi.bin /usr/bin/oxdvi.real 30
@@ -169,33 +173,6 @@
     # now create the font map files.
     create_fontmaps
 
-    # set permissions of ls-R files (copyright?)
-    db_get tetex-bin/lsr-perms || true
-    if [ x"$RET" = x"true" ]; then
-      echo Fixing permissions and group of ls-R as specified by debconf ...
-
-      db_get tetex-bin/groupperm || true
-      if [ x"$RET" = x"true" ]; then
-	LSRPERMS=66
-      else
-	LSRPERMS=64
-      fi
-      db_get tetex-bin/userperm || true
-      if [ x"$RET" = x"true" ]; then
-	LSRPERMS="$LSRPERMS"6
-      else
-	LSRPERMS="$LSRPERMS"4
-      fi
-
-      chmod -v $LSRPERMS $LSRS 2>/dev/null | fgrep changed || true
-
-      db_get tetex-bin/groupname || true
-      chgrp -v $RET $LSRS 2>/dev/null | fgrep changed || true
-    else
-      echo Fixing permissions of ls-R files ...
-      chmod -v 644 $LSRS 2>/dev/null | fgrep changed || true
-    fi
-
     ;;
   *)
     ;;




More information about the Pkg-tetex-commits mailing list