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