[subversion-commit] SVN tex-common commit + diffs: r1591 -
tex-common/trunk/debian
Frank Küster
frank at costa.debian.org
Mon Sep 4 13:31:37 UTC 2006
Author: frank
Date: 2006-09-04 13:31:36 +0000 (Mon, 04 Sep 2006)
New Revision: 1591
Modified:
tex-common/trunk/debian/changelog
tex-common/trunk/debian/preinst.in
Log:
Add missing function to preinst (closes: #385532) [frank]
Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog 2006-09-04 08:45:39 UTC (rev 1590)
+++ tex-common/trunk/debian/changelog 2006-09-04 13:31:36 UTC (rev 1591)
@@ -1,3 +1,9 @@
+tex-common (0.29~0.1) UNRELEASED; urgency=low
+
+ * Add missing function to preinst (closes: #385532) [frank]
+
+ -- Frank Küster <frank at debian.org> Mon, 4 Sep 2006 15:30:28 +0200
+
tex-common (0.28) unstable; urgency=low
* Fix spelling of "medium" in the last upload
Modified: tex-common/trunk/debian/preinst.in
===================================================================
--- tex-common/trunk/debian/preinst.in 2006-09-04 08:45:39 UTC (rev 1590)
+++ tex-common/trunk/debian/preinst.in 2006-09-04 13:31:36 UTC (rev 1591)
@@ -16,10 +16,26 @@
# Functions
#################################################################
+###############################################################################
+# cfgval(variable)
+# read variable ($1) from config file, first match wins
+# this is a copy of a function in postinst.functions
+###############################################################################
+# from tetex-bin's updmap
+cfgval()
+{
+ cnfFile="$1"
+ opt="$2"
+ cat "$cnfFile" | sed -n 's/^'"$opt"'[ =][ =]*//p' | sed q
+}
+
+###############################################################################
+# updmap_extract ()
+# we extract the settings from an existing 00updmap.cfg that belonged to
+# tetex-base. If the settings are unchanged from tetex-base's defaults
+# (2.0.2), ucf will know the md5sum and make the changes 2.0.2->3.0
+###############################################################################
updmap_extract(){
- # we extract the settings from an existing 00updmap.cfg that belonged to
- # tetex-base. If the settings are unchanged from tetex-base's defaults
- # (2.0.2), ucf will know the md5sum and make the changes 2.0.2->3.0
#
# The file itself is stored, so that tetex-base can also extract its settings.
conffile=/etc/texmf/updmap.d/00updmap.cfg
More information about the Pkg-tetex-commits
mailing list