summaryrefslogtreecommitdiff
path: root/community-staging/haskell-haskeline/haskell-haskeline.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-12 00:03:33 +0000
committerroot <root@rshg054.dnsready.net>2012-09-12 00:03:33 +0000
commitdb1cd10264e7cd2810148efd50ce612288343839 (patch)
tree86a6657c9a3f606e6821f6af65bf2952fe56b6be /community-staging/haskell-haskeline/haskell-haskeline.install
parent870527386e33c72826da94aee783bb212b06c53a (diff)
Wed Sep 12 00:03:32 UTC 2012
Diffstat (limited to 'community-staging/haskell-haskeline/haskell-haskeline.install')
-rw-r--r--community-staging/haskell-haskeline/haskell-haskeline.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/community-staging/haskell-haskeline/haskell-haskeline.install b/community-staging/haskell-haskeline/haskell-haskeline.install
new file mode 100644
index 000000000..27cb4a093
--- /dev/null
+++ b/community-staging/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)
+}