From fd8249d016683ade99a23251d6ffdf5d5a3e76a4 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 6 Apr 2013 00:05:46 -0700 Subject: Sat Apr 6 00:05:46 PDT 2013 --- .../haskell-pandoc-types.install | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 community/haskell-pandoc-types/haskell-pandoc-types.install (limited to 'community/haskell-pandoc-types/haskell-pandoc-types.install') diff --git a/community/haskell-pandoc-types/haskell-pandoc-types.install b/community/haskell-pandoc-types/haskell-pandoc-types.install new file mode 100644 index 000000000..72e17a9e2 --- /dev/null +++ b/community/haskell-pandoc-types/haskell-pandoc-types.install @@ -0,0 +1,23 @@ +HS_DIR=usr/share/haskell/haskell-pandoc-types + +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