diff options
author | root <root@rshg054.dnsready.net> | 2011-11-11 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-11 23:15:00 +0000 |
commit | e0f64ccb05c467785eaf68b42c3e302c44aa3324 (patch) | |
tree | e6cdb653ce50a1a2e3fd5ac74a46c1bbc33441bc /community/haskell-tar/haskell-tar.install | |
parent | 4141f5b04aab597f88a617a82649a404c773469a (diff) |
Fri Nov 11 23:15:00 UTC 2011
Diffstat (limited to 'community/haskell-tar/haskell-tar.install')
-rw-r--r-- | community/haskell-tar/haskell-tar.install | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/haskell-tar/haskell-tar.install b/community/haskell-tar/haskell-tar.install index e8c2f6293..7e0383621 100644 --- a/community/haskell-tar/haskell-tar.install +++ b/community/haskell-tar/haskell-tar.install @@ -1,18 +1,24 @@ HS_DIR=usr/share/haskell/haskell-tar + post_install() { ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + post_remove } + pre_upgrade() { ${HS_DIR}/unregister.sh } + post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) + post_install } + pre_remove() { - ${HS_DIR}/unregister.sh + pre_upgrade } + post_remove() { (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } + +# vim:set ts=2 sw=2 et: |