updated on Wed Jan 18 16:10:53 UTC 2012
[aur-mirror.git] / sbcl-run-program-fix / sbcl.install
blobff578074da416631dfecb452390116d908add51c
1 info_dir=/usr/share/info
2 info_files=(asdf.info sbcl.info)
4 post_install() {
5   for f in ${info_files[@]}; do
6     install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
7   done
10 post_upgrade() {
11   post_install $1
14 pre_remove() {
15   for f in ${info_files[@]}; do
16     install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
17   done
20 op=$1
21 shift
22 $op $*