[subversion-commit] SVN tetex-bin commit + diffs: r1126 -
tetex-bin/trunk/debian
Julian Gilbey
jdg at costa.debian.org
Tue Mar 28 14:24:29 UTC 2006
Author: jdg
Date: 2006-03-28 14:24:27 +0000 (Tue, 28 Mar 2006)
New Revision: 1126
Modified:
tetex-bin/trunk/debian/common.functions.in
tetex-bin/trunk/debian/common.variables
Log:
No longer try to teach mktemp how to find a temporary directory; it is
capable of doing this itself with the -t switch
(stops another lintian warning!)
Modified: tetex-bin/trunk/debian/common.functions.in
===================================================================
--- tetex-bin/trunk/debian/common.functions.in 2006-03-28 14:06:58 UTC (rev 1125)
+++ tetex-bin/trunk/debian/common.functions.in 2006-03-28 14:24:27 UTC (rev 1126)
@@ -6,8 +6,6 @@
# $Id$
# internal variables for common.functions
-: ${MKTMPDIR:=$TMPDIR} # mktemp will create its files there
-: ${MKTMPDIR:=<:=$MKTMPDIR:>}
SYMLINK_MOVE_EXT=<:=$SYMLINK_MOVE_EXT:>
TEXMFSYSVARDIR=<:=$TEXMFSYSVARDIR:>
@@ -38,7 +36,7 @@
create_tetex_formats(){
options="$@"
- tempfile=`mktemp -p $MKTMPDIR tetex.postinst.XXXXXXXX`
+ tempfile=`mktemp -t tetex.postinst.XXXXXXXX`
echo "Running fmtutil-sys. This may take some time. ..."
# for jadetex safety (see #352391 and friends), remove old latex formats
if [ "$options" = "--all" ];
@@ -58,7 +56,7 @@
}
create_fontmaps(){
- tempfile=`mktemp -p $MKTMPDIR tetex.updmap.XXXXXXXX`
+ tempfile=`mktemp -t tetex.updmap.XXXXXXXX`
echo -n "Running updmap-sys. This may take some time. ..."
if updmap-sys 2> $tempfile; then
rm -f $tempfile
Modified: tetex-bin/trunk/debian/common.variables
===================================================================
--- tetex-bin/trunk/debian/common.variables 2006-03-28 14:06:58 UTC (rev 1125)
+++ tetex-bin/trunk/debian/common.variables 2006-03-28 14:24:27 UTC (rev 1126)
@@ -11,7 +11,6 @@
<:$etc="/etc/texmf/":>//
<:$doc="/usr/share/doc/$PACKAGE/":>//
<:$TEXMFSYSVARDIR="/var/lib/texmf":>//
-<:$MKTMPDIR="/tmp":>//
<:$FONTMAP_MEMORY_DIR="/var/lib/tex-common/fontmap-cfg":>//
<:$LANGUAGE_MEMORY_DIR="/var/lib/tex-common/language-cnf":>//
<:$LANGUAGE_DIR="$etc/language.d":>//
More information about the Pkg-tetex-commits
mailing list