Package: im-switch
Version: 1.14
Tags: patch
Followup-For: Bug #457421

I forgot to add default-xim alternative for bogus locale all_ALL. It is
needed for setting default-xim as system wide IM config file. Patch
attached.
diff -Nru im-switch-1.14/debian/postinst im-switch-1.14.new/debian/postinst
--- im-switch-1.14/debian/postinst      2006-11-29 15:07:32.000000000 +0200
+++ im-switch-1.14.new/debian/postinst  2007-12-22 13:03:16.092569887 +0200
@@ -34,6 +34,7 @@
     configure)
         # Set up default
         ua_inst all_ALL default  10
+        ua_inst all_ALL default-xim  0
         ua_inst all_ALL none  0
         # Set up *-xim
         ua_inst th_TH th-xim  20
diff -Nru im-switch-1.14/debian/prerm im-switch-1.14.new/debian/prerm
--- im-switch-1.14/debian/prerm 2006-05-16 03:10:51.000000000 +0300
+++ im-switch-1.14.new/debian/prerm     2007-12-22 13:03:13.708630814 +0200
@@ -11,6 +11,7 @@
     remove|upgrade|deconfigure)
         # remove defaults
         ua_remove all_ALL default
+        ua_remove all_ALL default-xim
         # remove nones
         ua_remove all_ALL none
         ua_remove th_TH th-xim

Reply via email to