updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / check / check.install
blob5a45a90a0bbefe0caf29918548ed1078d0f87363
1 infodir=/usr/share/info
2 filelist=(check.info)
4 post_install() {
5   [ -x usr/bin/install-info ] || return 0
6   for file in ${filelist[@]}; do
7     install-info $infodir/$file $infodir/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 file in ${filelist[@]}; do
18     install-info --delete $infodir/$file $infodir/dir 2> /dev/null
19   done