tag 392947 +patch
thank you
stop
quit

Attached patch fixes this and the other postrm in the same source pkg.

ptex-bin has bashishms in maintainer scripts. Those are not fixed, as they are 
not rc. They are quite easy to fix. change #! /bin/sh to #! /bin/bash ;)

/Sune


-- 
Do you know how to cancel a virus?

First of all you should never cancel a CPU to mount the button.
diff -u ptex-bin-3.1.9+0.04b/debian/changelog ptex-bin-3.1.9+0.04b/debian/changelog
--- ptex-bin-3.1.9+0.04b/debian/changelog
+++ ptex-bin-3.1.9+0.04b/debian/changelog
@@ -1,3 +1,12 @@
+ptex-bin (3.1.9+0.04b-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Don't use mktexlsr in purge (Closes: #392947)
+  * Don't use update-* in purge  -  it is already used on remove) and
+    conffiles is moved away (This is unreported RC bugs)
+
+ -- Sune Vuorela <[EMAIL PROTECTED]>  Sat, 14 Oct 2006 15:41:55 +0200
+
 ptex-bin (3.1.9+0.04b-1) unstable; urgency=low
 
   * Works done at Codefest in Malaysia 2006.
diff -u ptex-bin-3.1.9+0.04b/debian/ptex-bin.postrm ptex-bin-3.1.9+0.04b/debian/ptex-bin.postrm
--- ptex-bin-3.1.9+0.04b/debian/ptex-bin.postrm
+++ ptex-bin-3.1.9+0.04b/debian/ptex-bin.postrm
@@ -36,11 +36,7 @@
        dpkg-divert --package ptex-bin --remove --rename --divert \
          /usr/share/man/man1/tftopl.nonja.1.gz /usr/share/man/man1/tftopl.1.gz
        
-       mktexlsr
 
-       update-texmf
-       update-fmtutil
-       
         ;;
 
        remove)
diff -u ptex-bin-3.1.9+0.04b/debian/jbibtex-bin.postrm ptex-bin-3.1.9+0.04b/debian/jbibtex-bin.postrm
--- ptex-bin-3.1.9+0.04b/debian/jbibtex-bin.postrm
+++ ptex-bin-3.1.9+0.04b/debian/jbibtex-bin.postrm
@@ -21,10 +21,6 @@
 
        rm -f /etc/texmf/texmf.d/60jbibtex*
 
-       update-texmf
-
-       mktexlsr
-
         ;;
 
        remove)
diff -u ptex-bin-3.1.9+0.04b/debian/jmpost.postrm ptex-bin-3.1.9+0.04b/debian/jmpost.postrm
--- ptex-bin-3.1.9+0.04b/debian/jmpost.postrm
+++ ptex-bin-3.1.9+0.04b/debian/jmpost.postrm
@@ -17,7 +17,11 @@
 # for details, see /usr/share/doc/packaging-manual/
 
 case "$1" in
-       purge|remove)
+       purge)
+       	;;
+       
+       
+       remove)
 
        mktexlsr
 

Attachment: pgpGjuFYJZgbV.pgp
Description: PGP signature

Reply via email to