From aa563cdeb6975b896ccf30d96943830c15becde0 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Sep 2013 02:14:35 -0700 Subject: Thu Sep 19 02:13:45 PDT 2013 --- community/haskell-hashable/haskell-hashable.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community/haskell-hashable/haskell-hashable.install (limited to 'community/haskell-hashable/haskell-hashable.install') diff --git a/community/haskell-hashable/haskell-hashable.install b/community/haskell-hashable/haskell-hashable.install new file mode 100644 index 000000000..de5bb4228 --- /dev/null +++ b/community/haskell-hashable/haskell-hashable.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hashable +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) +} -- cgit v1.2.3-54-g00ecf