updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / speech-dispatcher-git / speech-dispatcher.install
blob49375d95840bbf623bb78f355f53683bc5ffeda8
1 # This is essentially the same file as /var/abs/extra/emacs/emacs.install,
2 # but the names of the info files are different.
4 info_dir=/usr/share/info
5 info_files=('speech-dispatcher.info' 'speech-dispatcher-cs.info' 'ssip.info'
6 'spd-say.info')
8 post_install() {
9   for f in ${info_files[@]}; do
10     install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
11   done
14 post_upgrade() {
15   post_install $1
18 pre_remove() {
19   for f in ${info_files[@]}; do
20     install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
21   done
24 op=$1
25 shift
26 $op $*