diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:25:58 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:25:58 (GMT) |
commit | a9b26a3a38e7a27f636ebde7b499731d17f5d6dd (patch) | |
tree | 457c275f557733e09dfb7d0e1b70e3d073a6b14e /abs/core/aspell/aspell.install | |
parent | 88f4aca3dfbe13b9339bbbec79aeca57de440ead (diff) | |
download | linhes_pkgbuild-a9b26a3a38e7a27f636ebde7b499731d17f5d6dd.zip linhes_pkgbuild-a9b26a3a38e7a27f636ebde7b499731d17f5d6dd.tar.gz linhes_pkgbuild-a9b26a3a38e7a27f636ebde7b499731d17f5d6dd.tar.bz2 |
aspell 0.60.6.1
Diffstat (limited to 'abs/core/aspell/aspell.install')
-rw-r--r-- | abs/core/aspell/aspell.install | 9 |
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: |