Package: speech-dispatcher
Version: 0.11.1-3

The package includes a maintscript  entry to clean out /etc/speech-dispatcher/modules/mary-generic.conf on upgrade but that file is provided by the package again

The issue was initially reported on https://bugs.launchpad.net/ubuntu/+source/speech-dispatcher/+bug/1981611 as triggering a conffile change prompt on upgrade from old versions

The attach patch fixes the issue by removing the entry

Cheers,
diff -Nru speech-dispatcher-0.11.1/debian/changelog speech-dispatcher-0.11.1/debian/changelog
--- speech-dispatcher-0.11.1/debian/changelog	2022-05-28 22:59:04.000000000 +0200
+++ speech-dispatcher-0.11.1/debian/changelog	2022-07-21 17:15:31.000000000 +0200
@@ -1,3 +1,11 @@
+speech-dispatcher (0.11.1-4) UNRELEASED; urgency=medium
+
+  * debian/speech-dispatcher.maintscript:
+    - don't remove mary-generic.conf on upgrade, it's included in the
+      package again. Fix conffile prompt on update (lp: #1981611)
+
+ -- Sebastien Bacher <seb...@ubuntu.com>  Thu, 21 Jul 2022 17:15:31 +0200
+
 speech-dispatcher (0.11.1-3) unstable; urgency=medium
 
   * patches/clibrary2: avoid iterating over each and every voice.
diff -Nru speech-dispatcher-0.11.1/debian/speech-dispatcher.maintscript speech-dispatcher-0.11.1/debian/speech-dispatcher.maintscript
--- speech-dispatcher-0.11.1/debian/speech-dispatcher.maintscript	2021-12-11 23:07:04.000000000 +0100
+++ speech-dispatcher-0.11.1/debian/speech-dispatcher.maintscript	2022-07-21 17:15:31.000000000 +0200
@@ -1,5 +1,4 @@
 rm_conffile /etc/speech-dispatcher/modules/mary-generic-disabled.conf 0.11.0~ speech-dispatcher
-rm_conffile /etc/speech-dispatcher/modules/mary-generic.conf 0.10.1-2~ speech-dispatcher
 rm_conffile /etc/speech-dispatcher/modules/espeak-generic.conf 0.10.2-1~ speech-dispatcher
 rm_conffile /etc/speech-dispatcher/modules/pico-generic.conf 0.10.2-1~ speech-dispatcher
 rm_conffile /etc/speech-dispatcher/modules/ivona.conf 0.10.2-3~ speech-dispatcher

Reply via email to