On 30/01/16 22:48, Andreas Beckmann wrote:
> Hi,
> 
> during a test with piuparts I noticed the maintainer scripts of your
> package don't support all the ways they are going to be called.

Dear maintainer,

I will shortly upload an NMU of scim (version 1.4.15-5.1) fixing this
bug to the DELAYED/7 queue. Please let me know if I should delay it
longer or remove this upload before it hits unstable. The diff for my
changes is attached.

This is a simple fix to add the two missing operations to your prerm
script as no-op entries in your case statement.

Regards,
Chris

-- 
Chris Boot
bo...@debian.org
GPG: 8467 53CB 1921 3142 C56D  C918 F5C8 3C05 D9CE EEEE
diff -Nru scim-1.4.15/debian/changelog scim-1.4.15/debian/changelog
--- scim-1.4.15/debian/changelog	2015-08-06 16:08:34.000000000 +0100
+++ scim-1.4.15/debian/changelog	2016-02-20 23:54:26.000000000 +0000
@@ -1,3 +1,10 @@
+scim (1.4.15-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Prevent prerm from bailing out with valid arguments. (Closes: #813260)
+
+ -- Chris Boot <bo...@debian.org>  Sat, 20 Feb 2016 23:54:24 +0000
+
 scim (1.4.15-5) unstable; urgency=medium
 
   [ Rolf Leggewie ]
diff -Nru scim-1.4.15/debian/scim.prerm scim-1.4.15/debian/scim.prerm
--- scim-1.4.15/debian/scim.prerm	2015-05-11 11:41:12.000000000 +0100
+++ scim-1.4.15/debian/scim.prerm	2016-02-20 23:53:14.000000000 +0000
@@ -24,7 +24,7 @@
         ua_remove zh_HK   scim-immodule
         ua_remove zh_SG   scim-immodule
 	;;
-    failed-upgrade)
+    upgrade|deconfigure|failed-upgrade)
 	;;
     *)
 	echo "prerm called with unknown argument \`$1'" >&2

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to