updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / opentts-git / opentts.install
blob20ea7732de32249009c0184a326cb85f1a0107f1
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=('opentts.info' 'ssip.info' 'otts-say.info')
7 post_install() {
8   for f in ${info_files[@]}; do
9     install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
10   done
13 post_upgrade() {
14   post_install $1
17 pre_remove() {
18   for f in ${info_files[@]}; do
19     install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
20   done
23 op=$1
24 shift
25 $op $*