[Debian-tex-commits] SVN tex-common commit + diffs: r3338 - tex-common/trunk/debian

Frank Küster frank at alioth.debian.org
Fri Apr 18 19:13:47 UTC 2008


Author: frank
Date: 2008-04-18 19:13:47 +0000 (Fri, 18 Apr 2008)
New Revision: 3338

Added:
   tex-common/trunk/debian/prerm
Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/postinst.in
Log:
- add code (from policy manual) to create empty /usr/local/share/texmf
- drop urgency to normal, badly phrased explanation for that


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2008-04-18 14:45:08 UTC (rev 3337)
+++ tex-common/trunk/debian/changelog	2008-04-18 19:13:47 UTC (rev 3338)
@@ -1,10 +1,16 @@
-tex-common (1.12~1) unstable; urgency=medium
+tex-common (1.12~1) unstable; urgency=normal
 
   * bump version of tex-common packages built with dh_installtex to 1.11
-    otherwise the conflict with tetex-base is not included. This really
-    closes: #467330, thus also setting urgency to medium
+    otherwise the conflict with tetex-base is not included properly. This really
+    would close #467330, but due to the disappearance of  1.10 the last
+    version is also sufficient [np]
+  * Create empty /usr/local/share/texmf in postinst, remove in prerm if
+    empty, with code taken from the Policy manual. The decision whether
+    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]
 
- -- Norbert Preining <preining at debian.org>  Thu, 17 Apr 2008 08:16:42 +0200
+ -- Frank Küster <frank at debian.org>  Fri, 18 Apr 2008 21:17:51 +0200
 
 tex-common (1.11) unstable; urgency=medium
 

Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in	2008-04-18 14:45:08 UTC (rev 3337)
+++ tex-common/trunk/debian/postinst.in	2008-04-18 19:13:47 UTC (rev 3338)
@@ -202,6 +202,16 @@
     # first pass, it sets a special flag, which must now be reset.
 #     db_fset tex-common/managecache firstrundone false || true
 
+# create empty dirs in /usr/local/share/
+    if [ ! -e /usr/local/share/texmf ]
+    then
+      if mkdir -p /usr/local/share/texmf 2>/dev/null
+      then
+        chown root:staff /usr/local/texmf/emacs
+        chmod 2775 /usr/local/share/texmf
+      fi
+    fi
+
     ;;
   *)
     ;;

Added: tex-common/trunk/debian/prerm
===================================================================
--- tex-common/trunk/debian/prerm	                        (rev 0)
+++ tex-common/trunk/debian/prerm	2008-04-18 19:13:47 UTC (rev 3338)
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+# 
+# postinst maintainer script for the Debian tex-common package.
+# $Id$
+
+# remove dirs in /usr/local if empty
+
+rmdir /usr/local/share/texmf 2>/dev/null || true




More information about the Debian-tex-commits mailing list