diff -Nru /srv/tmp/q9epeqEK0p/tex-common-1.7/debian/changelog /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/debian/changelog
--- /srv/tmp/q9epeqEK0p/tex-common-1.7/debian/changelog	2007-04-14 08:41:51.000000000 +0200
+++ /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/debian/changelog	2007-06-09 21:44:01.000000000 +0200
@@ -1,3 +1,10 @@
+tex-common (1.7.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Modify dh_installtex to use postpone(1) if available.
+
+ -- Christoph Berg <myon@debian.org>  Sat, 09 Jun 2007 21:43:21 +0200
+
 tex-common (1.7) unstable; urgency=low
 
   * Undo the changes of the autoscripts snippets ordering, debhelper has
diff -Nru /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/dh_installtex /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/dh_installtex
--- /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/dh_installtex	2007-04-14 08:39:36.000000000 +0200
+++ /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/dh_installtex	2007-06-09 21:46:05.000000000 +0200
@@ -607,6 +607,7 @@
 	}
 
 	addsubstvar($package, "misc:Depends", "tex-common", ">= 0.7");
+	addsubstvar($package, "misc:Depends", "postpone", "");
 }
 
 =head1 SEE ALSO
diff -Nru /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postinst-tex /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postinst-tex
--- /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postinst-tex	2007-02-19 18:55:04.000000000 +0100
+++ /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postinst-tex	2007-06-10 19:47:09.000000000 +0200
@@ -16,6 +16,13 @@
 
 dhit_create_fontmaps ()
 {
+    if [ -x /usr/bin/postpone ] ; then
+        postpone --verbose --lock /var/run/updmap-sys.lock --debian \
+            --all-output /tmp/updmap.XXXXXXXX \
+            updmap-sys
+        return
+    fi
+
     tempfile=$(mktemp -p /tmp updmap.XXXXXXXX)
     printf "Running updmap-sys. This may take some time... "
     if updmap-sys > $tempfile 2>&1 ; then
@@ -57,6 +64,12 @@
 
 dhit_build_format ()
 {
+    if [ -x /usr/bin/postpone ] ; then
+        postpone --verbose --lock /var/run/fmtutil-sys.lock --debian \
+            --all-output /tmp/fmtutil.XXXXXXXX \
+            fmtutil-sys "$1" "$2"
+        return
+    fi
 
     tempfile=$(mktemp -p /tmp fmtutil.XXXXXXXX)
     printf "Building format(s) $1 $(basename "$2"). This may take some time... "
diff -Nru /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postinst-texlsr /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postinst-texlsr
--- /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postinst-texlsr	2007-02-19 18:55:04.000000000 +0100
+++ /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postinst-texlsr	2007-06-10 19:47:09.000000000 +0200
@@ -28,6 +28,13 @@
 
 dhit_update_lsr_files ()
 {
+    if [ -x /usr/bin/postpone ] ; then
+        postpone --verbose --lock /var/run/mktexlsr.lock --debian \
+            --all-output /tmp/mktexlsr.XXXXXXXX \
+            mktexlsr #TEXMFTREES#
+        return
+    fi
+
     tempfile=$(mktemp -p /tmp mktexlsr.XXXXXXXX)
     printf "Running mktexlsr. This may take some time... "
     if mktexlsr #TEXMFTREES# > $tempfile 2>&1 ; then
diff -Nru /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postrm-tex /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postrm-tex
--- /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postrm-tex	2007-03-09 17:01:26.000000000 +0100
+++ /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postrm-tex	2007-06-10 19:47:09.000000000 +0200
@@ -15,6 +15,12 @@
 
 dhit_build_format ()
 {
+    if [ -x /usr/bin/postpone ] ; then
+        postpone --verbose --lock /var/run/fmtutil-sys.lock --debian \
+            --all-output /tmp/fmtutil.XXXXXXXX \
+            fmtutil-sys "$1" "$2"
+        return
+    fi
 
     tempfile=$(mktemp -p /tmp fmtutil.XXXXXXXX)
     printf "Building format(s) $1 $(basename "$2"). This may take some time..."
diff -Nru /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postrm-texlsr /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postrm-texlsr
--- /srv/tmp/q9epeqEK0p/tex-common-1.7/scripts/postrm-texlsr	2007-02-19 18:55:04.000000000 +0100
+++ /srv/tmp/kFx5vi0Jpo/tex-common-1.7.1/scripts/postrm-texlsr	2007-06-10 19:47:09.000000000 +0200
@@ -32,6 +32,14 @@
 	shift
     fi
     if which "$1" >/dev/null; then
+        if [ -x /usr/bin/postpone ] ; then
+            echo "Running '$@'"
+            postpone --verbose --lock /var/run/"$1".lock --debian \
+                --all-output /tmp/"$1".XXXXXXXX \
+                "$@"
+            return
+        fi
+
         tempfile=$(mktemp -p /tmp checkrun.XXXXXXXX)
         if [ $silent = 0 ] ; then
 	    printf "Running '$*'.\nThis may take some time..."

