diff options
author | root <root@rshg054.dnsready.net> | 2013-09-19 02:14:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-09-19 02:14:35 -0700 |
commit | aa563cdeb6975b896ccf30d96943830c15becde0 (patch) | |
tree | d0638199c86e6331f0935043e76d0f7579a34a06 /community/haskell-aeson/haskell-aeson.install | |
parent | d21b8cdc0567fba4d6e74284363fedb98f2f7d07 (diff) |
Thu Sep 19 02:13:45 PDT 2013
Diffstat (limited to 'community/haskell-aeson/haskell-aeson.install')
-rw-r--r-- | community/haskell-aeson/haskell-aeson.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/haskell-aeson/haskell-aeson.install b/community/haskell-aeson/haskell-aeson.install new file mode 100644 index 000000000..8993bb435 --- /dev/null +++ b/community/haskell-aeson/haskell-aeson.install @@ -0,0 +1,23 @@ +HS_DIR=usr/share/haskell/haskell-aeson + +post_install() { + $HS_DIR/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + $HS_DIR/unregister.sh +} + +post_upgrade() { + $HS_DIR/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + $HS_DIR/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} |