[subversion-commit] SVN tetex commit + diffs: r533 - tex-common/trunk/debian

Norbert Preining preining-guest at costa.debian.org
Tue Feb 14 17:32:48 UTC 2006


Author: preining-guest
Date: 2006-02-14 17:32:47 +0000 (Tue, 14 Feb 2006)
New Revision: 533

Modified:
   tex-common/trunk/debian/config.in
Log:
set managecache to true if perms are 1777 or 3775


Modified: tex-common/trunk/debian/config.in
===================================================================
--- tex-common/trunk/debian/config.in	2006-02-14 15:58:13 UTC (rev 532)
+++ tex-common/trunk/debian/config.in	2006-02-14 17:32:47 UTC (rev 533)
@@ -54,7 +54,13 @@
   # for which group
   PERMS=$(stat --format="%a" /var/cache/fonts)
   GROUP=$(stat --format="%G" /var/cache/fonts)
-  if [ $PERMS = 3775 ] ; then
+
+  # if the permissions are 
+  # - either the new permissions 3775 as we want to ship them
+  # - or the permissions as shipped by old tetex versions
+  # then set the managecache to true, otherwise to false
+  # we will later change it to 3775 in the true case
+  if [ $PERMS = 3775 -o $PERMS = 1777 ] ; then
     db_set tex-common/managecache true || true
     db_set tex-common/groupname "$GROUP" || true
   else




More information about the Pkg-tetex-commits mailing list