Package: hlatex
Followup-For: Bug #391201

This 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 hlatex-1.0.1.orig/debian/changelog hlatex-1.0.1/debian/changelog
--- hlatex-1.0.1.orig/debian/changelog  2006-10-07 14:06:12.000000000 +0000
+++ hlatex-1.0.1/debian/changelog       2006-10-07 14:08:03.000000000 +0000
@@ -1,3 +1,12 @@
+hlatex (1.0.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * postrm no longer calls mktexlsr if not present when purging.
+  (Closes: #391201)
+  * Set Standards-Version to 3.7.2.
+  
+ -- Arnaud Hocevar <[EMAIL PROTECTED]>  Sat,  7 Oct 2006 14:04:07 +0000
+
 hlatex (1.0.1-2) unstable; urgency=low
 
   * Standard-Version: 3.6.2.
diff -puriN hlatex-1.0.1.orig/debian/control hlatex-1.0.1/debian/control
--- hlatex-1.0.1.orig/debian/control    2006-10-07 14:06:12.000000000 +0000
+++ hlatex-1.0.1/debian/control 2006-10-07 14:08:03.000000000 +0000
@@ -3,7 +3,7 @@ Section: tex
 Priority: optional
 Maintainer: Changwoo Ryu <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 4.0.0)
-Standards-Version: 3.6.2
+Standards-Version: 3.7.2
 
 Package: hlatex
 Architecture: all
diff -puriN hlatex-1.0.1.orig/debian/hlatex.postrm 
hlatex-1.0.1/debian/hlatex.postrm
--- hlatex-1.0.1.orig/debian/hlatex.postrm      2006-10-07 14:06:12.000000000 
+0000
+++ hlatex-1.0.1/debian/hlatex.postrm   2006-10-07 14:08:03.000000000 +0000
@@ -3,9 +3,14 @@
 set -e
 
 case "$1" in
-    remove | purge)     
+    remove)     
        mktexlsr
         ;;
+    purge)
+        if mktexlsr --help >/dev/null 2>&1; then
+            mktexlsr
+       fi
+       ;;
     upgrade | failed-upgrade | abort-upgrade | abort-install)
        ;;
     *)

Reply via email to