[Debian-tex-commits] SVN tetex-base commit + diffs: r1935 -
tetex-base/trunk/debian
Frank Küster
frank at alioth.debian.org
Fri Nov 3 18:11:44 CET 2006
Author: frank
Date: 2006-11-03 18:11:44 +0100 (Fri, 03 Nov 2006)
New Revision: 1935
Modified:
tetex-base/trunk/debian/changelog
tetex-base/trunk/debian/postinst.in
tetex-base/trunk/debian/preinst.in
Log:
testing changes
Modified: tetex-base/trunk/debian/changelog
===================================================================
--- tetex-base/trunk/debian/changelog 2006-11-03 16:56:05 UTC (rev 1934)
+++ tetex-base/trunk/debian/changelog 2006-11-03 17:11:44 UTC (rev 1935)
@@ -1,3 +1,11 @@
+tetex-base (3.0.dfsg.3-2~1) unstable; urgency=low
+
+ * Test changes in postinst
+ * Create oldstuffdir with -p option in preinst, this is needed when
+ tetex-base is unpacked before tex-common.
+
+ -- Frank Küster <frank at debian.org> Fri, 3 Nov 2006 18:09:00 +0100
+
tetex-base (3.0.dfsg.3-1) unstable; urgency=medium
* New repackaged upstream tarball: Removed documentation and example
Modified: tetex-base/trunk/debian/postinst.in
===================================================================
--- tetex-base/trunk/debian/postinst.in 2006-11-03 16:56:05 UTC (rev 1934)
+++ tetex-base/trunk/debian/postinst.in 2006-11-03 17:11:44 UTC (rev 1935)
@@ -1,5 +1,5 @@
#include variables
-#!/bin/sh -e
+#!/bin/sh -ex
#
# postinst maintainer script for the Debian tetex-base package.
# $Id$
@@ -130,7 +130,7 @@
if [ -n "$TEXINIT_P" ] && [ -n "$KPSEWHICH" ]&& \
kpsewhich --format='web2c files' fmtutil.cnf >/dev/null && \
kpsewhich --expand-var='$TEXMF' | grep -q "/usr/share/texmf" 2> /dev/null
- then
+ then
mktexlsr
# now call updmap
create_fontmaps
@@ -144,6 +144,8 @@
create_tetex_formats --all --cnffile $fmt_cnffile
mktexlsr
fi
+ else
+ :
fi
;;
Modified: tetex-base/trunk/debian/preinst.in
===================================================================
--- tetex-base/trunk/debian/preinst.in 2006-11-03 16:56:05 UTC (rev 1934)
+++ tetex-base/trunk/debian/preinst.in 2006-11-03 17:11:44 UTC (rev 1935)
@@ -46,7 +46,7 @@
# remove obsolete conffiles if they are unchanged,
# otherwise move them to the appropriate place
- test -d $oldstuff_dir || mkdir $oldstuff_dir
+ test -d $oldstuff_dir || mkdir -p $oldstuff_dir
for file in $UNUSED_CONFFILES; do
preinst_remove_or_move $file
done
More information about the Debian-tex-commits
mailing list