[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#674913: sgml-data: do not call update-catalog



tags 674913 + patch
tags 675488 + patch
thanks

On Mon, May 28, 2012 at 05:06:18PM +0200, Helmut Grohne wrote:
> Your package calls update-catalog on /etc/sgml/$PACKAGE.cat. The latter
> file will transition to a conffile, so changing that file induces
> questions to the user. Please remove the old and no longer needed call
> to update-catalog.

I attached a patch for both issues.

Helmut
diff -Nru sgml-data-2.0.6/debian/changelog sgml-data-2.0.6+nmu1/debian/changelog
--- sgml-data-2.0.6/debian/changelog	2011-05-29 18:04:05.000000000 +0200
+++ sgml-data-2.0.6+nmu1/debian/changelog	2012-06-12 11:47:46.000000000 +0200
@@ -1,3 +1,11 @@
+sgml-data (2.0.6+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload. (Closes: #675488)
+  * Remove calls to update-catalog from postinst. They are noops with the new
+    sgml-base.  (Closes: #674913)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 12 Jun 2012 11:46:23 +0200
+
 sgml-data (2.0.6) unstable; urgency=low
 
   * QA upload.
diff -Nru sgml-data-2.0.6/debian/postinst sgml-data-2.0.6+nmu1/debian/postinst
--- sgml-data-2.0.6/debian/postinst	2004-02-15 18:34:00.000000000 +0100
+++ sgml-data-2.0.6+nmu1/debian/postinst	2012-06-12 11:44:47.000000000 +0200
@@ -1,16 +1,8 @@
 #!/bin/sh
 # sgml-data postinst
-#   jobs: remove old catalog entry in transitional.cat
 
 set -e
 
-PACKAGE=sgml-data
-
-if [ "$1" = configure ]; then
-    # remove legacy SGML catalog
-    update-catalog --quiet --remove "/etc/sgml/${PACKAGE}.cat" /usr/share/sgml/html/dtd/xml/1.0/xhtml.soc
-fi
-
 # automatically generated debhelper commands
 #DEBHELPER#
 

Reply to: