Package: jbibtex-base
Followup-For: Bug #391209

Here is the patch for the nmu.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (30, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11-grsec
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
diff -puriN ptex-base-2.4.orig/changelog ptex-base-2.4/changelog
--- ptex-base-2.4.orig/changelog        2006-10-07 17:15:50.000000000 +0000
+++ ptex-base-2.4/changelog     2006-10-07 17:15:37.000000000 +0000
@@ -1,3 +1,14 @@
+ptex-base (1:2.4-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * postrm no longer calls mktexlsr if not present when purging.
+  (Closes: #391209)
+  * debian/control
+    + Fixed Build-Depends-Indep: debhelper to Build-Depends.
+    + Set Standards-VErsion to 3.7.2.
+
+ -- Arnaud Hocevar <[EMAIL PROTECTED]>  Sat,  7 Oct 2006 17:11:25 +0000
+
 ptex-base (1:2.4-1) unstable; urgency=low
 
   * Works done at Codefest in Malaysia 2006.
diff -puriN ptex-base-2.4.orig/control ptex-base-2.4/control
--- ptex-base-2.4.orig/control  2006-10-07 17:15:50.000000000 +0000
+++ ptex-base-2.4/control       2006-10-07 17:15:37.000000000 +0000
@@ -2,8 +2,8 @@ Source: ptex-base
 Section: tex
 Priority: optional
 Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>> 4.0.0)
-Standards-Version: 3.6.2.2
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.7.2
 
 Package: ptex-base
 Architecture: all
diff -puriN ptex-base-2.4.orig/postrm ptex-base-2.4/postrm
--- ptex-base-2.4.orig/postrm   2006-10-07 17:15:50.000000000 +0000
+++ ptex-base-2.4/postrm        2006-10-07 17:15:37.000000000 +0000
@@ -17,16 +17,19 @@ set -e
 # for details, see /usr/share/doc/packaging-manual/
 
 case "$1" in
-       
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
-       mktexlsr
-
+        remove)
+            mktexlsr
         ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 0
-
+        purge)
+           if mktexlsr --help >/dev/null 2>&1; then
+               mktexlsr
+            fi
+       ;;
+       upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+        ;;
+        *)
+            echo "postrm called with unknown argument \`$1'" >&2
+            exit 0
 esac
 
 # dh_installdeb will replace this with shell code automatically

Reply via email to