From 715631caf52784c47c8ed3aeb6cbdba2715a08db Mon Sep 17 00:00:00 2001 From: root Date: Sun, 26 Jun 2011 23:06:14 +0000 Subject: Sun Jun 26 23:06:14 UTC 2011 --- community/haskell-haskeline/haskell-haskeline.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community/haskell-haskeline/haskell-haskeline.install (limited to 'community/haskell-haskeline/haskell-haskeline.install') diff --git a/community/haskell-haskeline/haskell-haskeline.install b/community/haskell-haskeline/haskell-haskeline.install new file mode 100644 index 000000000..27cb4a093 --- /dev/null +++ b/community/haskell-haskeline/haskell-haskeline.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-haskeline +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