updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / octave30 / octave.install
blob8ee77c4302950e609b98f74fbbdee26e0f6629a0
1 info_dir=/usr/share/info
2 info_files=(octave.info octave.info-1 octave.info-2 octave.info-3 octave.info-4 octave.info-5)
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
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