updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / gmp4 / gmp.install
blob1c31ab365d8034bc660dc97551b919bc6ec1487a
1 info_dir=/usr/share/info
2 info_files=(gmp.info gmp.info-1 gmp.info-2)
4 post_install() {
5   [ -x usr/bin/install-info ] || return 0
6   for f in ${info_files[@]}; do
7     install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
8   done
11 post_upgrade() {
12   post_install $1
15 pre_remove() {
16   [ -x usr/bin/install-info ] || return 0
17   for f in ${info_files[@]}; do
18     install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
19   done