diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-16 22:15:41 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-16 22:15:41 (GMT) |
commit | 035772adfabbbf76d1af1bacbdfafdf8933cc106 (patch) | |
tree | 6609aa316074a7afeddffa89a50c63d52763abbe /abs/core/mtools/mtools.install | |
parent | b215d21a2f4e4a5764492b3f61282b61b15c5776 (diff) | |
download | linhes_pkgbuild-035772adfabbbf76d1af1bacbdfafdf8933cc106.zip linhes_pkgbuild-035772adfabbbf76d1af1bacbdfafdf8933cc106.tar.gz linhes_pkgbuild-035772adfabbbf76d1af1bacbdfafdf8933cc106.tar.bz2 |
mtools: up to latest
Diffstat (limited to 'abs/core/mtools/mtools.install')
-rw-r--r-- | abs/core/mtools/mtools.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/mtools/mtools.install b/abs/core/mtools/mtools.install new file mode 100644 index 0000000..ae35772 --- /dev/null +++ b/abs/core/mtools/mtools.install @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(mtools.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} |