updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / selinux-coreutils / coreutils.install
blob8caae6686d47170709878142c626ade708ad91c4
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