summaryrefslogtreecommitdiffstats
path: root/abs/core/aspell/aspell.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/aspell/aspell.install')
-rw-r--r--abs/core/aspell/aspell.install9
1 files changed, 5 insertions, 4 deletions
diff --git a/abs/core/aspell/aspell.install b/abs/core/aspell/aspell.install
index 2747f02..4bb848e 100644
--- a/abs/core/aspell/aspell.install
+++ b/abs/core/aspell/aspell.install
@@ -1,23 +1,24 @@
-infodir=/usr/share/info
+infodir=usr/share/info
filelist=(aspell.info aspell-dev.info)
post_install() {
+ echo "==> aspell comes with no default dictionary"
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
- echo "==> aspell comes with no default dictionary"
}
post_upgrade() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}
-
-# vim:set ts=2 sw=2 et: