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

Bug#619279: myspell-hu: Remove unconditional call to soon to disappear 'update-openoffice-dicts'



Package: myspell-hu
Version: 0.99.4-2
Severity: normal
Patgs: patch

'update-openoffice-dicts' will soon be removed from dictionaries-common, 
but 'myspell-hu' maintainer scripts unconditionally call it.

'update-openoffice-dicts' only remaining task was to remove ancient
Openoffice.org 2.4 "dictionary.lst" file. For squeeze, it still updated
"dictionary.lst" in the extremely unlikely possibility that Ooo 2.4 is 
installed. That Ooo has now become more than ancient and its presence 
really unlikely. 

For that reason, 'update-openoffice-dicts' has been made a no-op and will
soon be removed.

Please remove unconditional call to 'update-openoffice-dicts' from
maintainer scripts, as proposed in attached patch.

Thanks in advance,

-- 
Agustin
reverted:
--- magyarispell-0.99.4/debian/myspell-hu.postinst
+++ magyarispell-0.99.4.orig/debian/myspell-hu.postinst
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-    configure)
-        update-openoffice-dicts
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
reverted:
--- magyarispell-0.99.4/debian/myspell-hu.postrm
+++ magyarispell-0.99.4.orig/debian/myspell-hu.postrm
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-        if [ "$1" = "remove" ]; then
-                update-openoffice-dicts
-	fi
-        ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-
-esac
-
-#DEBHELPER#
-
-exit 0
diff -u magyarispell-0.99.4/debian/changelog magyarispell-0.99.4/debian/changelog
--- magyarispell-0.99.4/debian/changelog
+++ magyarispell-0.99.4/debian/changelog
@@ -1,3 +1,11 @@
+magyarispell (0.99.4-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * myspell-hu.post{inst,rm}: Remove, only unconditionally called
+    useless and soon to not be shipped update-openoffice-dicts.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Tue, 22 Mar 2011 17:41:07 +0100
+
 magyarispell (0.99.4-2) unstable; urgency=low
 
   * QA upload.

Reply to: