updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / coreutils-acp / coreutils.install
blobdff2dc5d4d6197aede331a9d74ba32a8d22ae8de
1 infodir=/usr/share/info
2 filelist=(coreutils.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