Package: speech-dispatcher Version: 0.7.1-6.2 Followup-For: Bug #679162 Dear Maintainer,
attached you find a patch for /etc/init.d/speech-dispatcher where the last two remaining echo commands have been replaced by appropriate lsb functions. Without this patch the "speech-dispatcher disabled..." messages disrupts the log messages when shutting down. Thanks. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (500, 'stable'), (400, 'stable-updates'), (2, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages speech-dispatcher depends on: ii adduser 3.113+nmu3 ii dpkg 1.16.12 ii install-info 5.2.0.dfsg.1-1 ii libao4 1.1.0-2 ii libasound2 1.0.27.2-3 ii libaudio2 1.9.4-1 ii libc6 2.17-93 ii libdotconf1.0 1.0.13-3 ii libespeak1 1.47.11-1 ii libflite1 1.4-release-7 ii libglib2.0-0 2.36.4-1 ii libpulse0 4.0-6+b1 ii libspeechd2 0.7.1-6.2 ii lsb-base 4.1+Debian12 Versions of packages speech-dispatcher recommends: ii pulseaudio 4.0-6+b1 Versions of packages speech-dispatcher suggests: pn libttspico-utils <none> pn speech-dispatcher-doc-cs <none> pn speech-dispatcher-festival <none> -- Configuration Files: /etc/init.d/speech-dispatcher changed [not included] -- no debconf information
--- 0.7.1-6.2/speech-dispatcher 2013-11-14 14:35:02.397663027 +0100 +++ lsb-functions/speech-dispatcher 2013-11-14 14:37:28.535294880 +0100 @@ -31,7 +31,7 @@ fi if [ "x$RUN" != "xyes" ] ; then - echo "$NAME disabled; edit /etc/default/speech-dispatcher" + log_success_msg "$NAME disabled; edit /etc/default/speech-dispatcher" exit 0 fi @@ -79,7 +79,7 @@ ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + log_failure_msg "Usage: $N {start|stop|restart|reload|force-reload}" exit 1 ;; esac