updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gzip-rsyncable / gzip.install
blobf25897b2c372206a077642720713b405d7773280
1 infodir=/usr/share/info
2 filelist=(gzip.info)
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