diff options
Diffstat (limited to 'accessibility/speech-dispatcher/pkg-plist')
-rw-r--r-- | accessibility/speech-dispatcher/pkg-plist | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/accessibility/speech-dispatcher/pkg-plist b/accessibility/speech-dispatcher/pkg-plist index 9e078b7202d5..6c1eadd9c80c 100644 --- a/accessibility/speech-dispatcher/pkg-plist +++ b/accessibility/speech-dispatcher/pkg-plist @@ -7,51 +7,23 @@ bin/run_test bin/spd-say bin/spdsend bin/speech-dispatcher -@unexec if cmp -s %D/%%ETCDIR%%/clients/emacs.conf %D/%%ETCDIR%%/clients/emacs.conf.sample; then rm -f %D/%%ETCDIR%%/clients/emacs.conf; fi +@unexec for f in %%ETCFILES%%; do cmp -s %D/%%ETCDIR%%/$f %D/%%ETCDIR%%/$f.sample && rm -f %D/%%ETCDIR%%/$f; done %%ETCDIR%%/clients/emacs.conf.sample -@exec [ -f %B/emacs.conf ] || cp %D/%F %B/emacs.conf -@unexec if cmp -s %D/%%ETCDIR%%/clients/gnome-speech.conf %D/%%ETCDIR%%/clients/gnome-speech.conf.sample; then rm -f %D/%%ETCDIR%%/clients/gnome-speech.conf; fi %%ETCDIR%%/clients/gnome-speech.conf.sample -@exec [ -f %B/gnome-speech.conf ] || cp %D/%F %B/gnome-speech.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/cicero.conf %D/%%ETCDIR%%/modules/cicero.conf.sample; then rm -f %D/%%ETCDIR%%/modules/cicero.conf; fi %%ETCDIR%%/modules/cicero.conf.sample -@exec [ -f %B/cicero.conf ] || cp %D/%F %B/cicero.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/dtk-generic.conf %D/%%ETCDIR%%/modules/dtk-generic.conf.sample; then rm -f %D/%%ETCDIR%%/modules/dtk-generic.conf; fi %%ETCDIR%%/modules/dtk-generic.conf.sample -@exec [ -f %B/dtk-generic.conf ] || cp %D/%F %B/dtk-generic.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/epos-generic.conf %D/%%ETCDIR%%/modules/epos-generic.conf.sample; then rm -f %D/%%ETCDIR%%/modules/epos-generic.conf; fi %%ETCDIR%%/modules/epos-generic.conf.sample -@exec [ -f %B/epos-generic.conf ] || cp %D/%F %B/epos-generic.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/espeak-generic.conf %D/%%ETCDIR%%/modules/espeak-generic.conf.sample; then rm -f %D/%%ETCDIR%%/modules/espeak-generic.conf; fi %%ETCDIR%%/modules/espeak-generic.conf.sample -@exec [ -f %B/espeak-generic.conf ] || cp %D/%F %B/espeak-generic.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/espeak-mbrola-generic.conf %D/%%ETCDIR%%/modules/espeak-mbrola-generic.conf.sample; then rm -f %D/%%ETCDIR%%/modules/espeak-mbrola-generic.conf; fi %%ETCDIR%%/modules/espeak-mbrola-generic.conf.sample -@exec [ -f %B/espeak-mbrola-generic.conf ] || cp %D/%F %B/espeak-mbrola-generic.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/espeak.conf %D/%%ETCDIR%%/modules/espeak.conf.sample; then rm -f %D/%%ETCDIR%%/modules/espeak.conf; fi %%ETCDIR%%/modules/espeak.conf.sample -@exec [ -f %B/espeak.conf ] || cp %D/%F %B/espeak.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/festival.conf %D/%%ETCDIR%%/modules/festival.conf.sample; then rm -f %D/%%ETCDIR%%/modules/festival.conf; fi %%ETCDIR%%/modules/festival.conf.sample -@exec [ -f %B/festival.conf ] || cp %D/%F %B/festival.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/flite.conf %D/%%ETCDIR%%/modules/flite.conf.sample; then rm -f %D/%%ETCDIR%%/modules/flite.conf; fi %%ETCDIR%%/modules/flite.conf.sample -@exec [ -f %B/flite.conf ] || cp %D/%F %B/flite.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/ibmtts.conf %D/%%ETCDIR%%/modules/ibmtts.conf.sample; then rm -f %D/%%ETCDIR%%/modules/ibmtts.conf; fi %%ETCDIR%%/modules/ibmtts.conf.sample -@exec [ -f %B/ibmtts.conf ] || cp %D/%F %B/ibmtts.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/ivona.conf %D/%%ETCDIR%%/modules/ivona.conf.sample; then rm -f %D/%%ETCDIR%%/modules/ivona.conf; fi %%ETCDIR%%/modules/ivona.conf.sample -@exec [ -f %B/ivona.conf ] || cp %D/%F %B/ivona.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/llia_phon-generic.conf %D/%%ETCDIR%%/modules/llia_phon-generic.conf.sample; then rm -f %D/%%ETCDIR%%/modules/llia_phon-generic.conf; fi %%ETCDIR%%/modules/llia_phon-generic.conf.sample -@exec [ -f %B/llia_phon-generic.conf ] || cp %D/%F %B/llia_phon-generic.conf -@unexec if cmp -s %D/%%ETCDIR%%/modules/swift-generic.conf %D/%%ETCDIR%%/modules/swift-generic.conf.sample; then rm -f %D/%%ETCDIR%%/modules/swift-generic.conf; fi %%ETCDIR%%/modules/swift-generic.conf.sample -@exec [ -f %B/swift-generic.conf ] || cp %D/%F %B/swift-generic.conf -@unexec if cmp -s %D/%%ETCDIR%%/speechd.conf %D/%%ETCDIR%%/speechd.conf.sample; then rm -f %D/%%ETCDIR%%/speechd.conf; fi %%ETCDIR%%/speechd.conf.sample -@exec [ -f %B/speechd.conf ] || cp %D/%F %B/speechd.conf +@exec for f in %%ETCFILES%%; do [ -f %D/%%ETCDIR%%/$f ] || cp -p %D/%%ETCDIR%%/$f.sample %D/%%ETCDIR%%/$f; done include/libspeechd.h lib/libspeechd.a lib/libspeechd.la @@ -110,7 +82,6 @@ share/sounds/speech-dispatcher/dummy-message.wav @dirrm %%DATADIR%%/conf @dirrm %%DATADIR%% @dirrm share/sounds/speech-dispatcher -%%GNOMEHIER%%@dirrmtry share/sounds @dirrm lib/speech-dispatcher-modules @dirrm lib/speech-dispatcher %%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/speechd_config |