From f46e734fbcd0b4cbae2cff1a017b95e4e8e02d53 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Jun 2012 00:01:51 +0000 Subject: Wed Jun 13 00:01:51 UTC 2012 --- .../haskell-utf8-string/haskell-utf8-string.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community-testing/haskell-utf8-string/haskell-utf8-string.install (limited to 'community-testing/haskell-utf8-string/haskell-utf8-string.install') diff --git a/community-testing/haskell-utf8-string/haskell-utf8-string.install b/community-testing/haskell-utf8-string/haskell-utf8-string.install new file mode 100644 index 000000000..0f64366b2 --- /dev/null +++ b/community-testing/haskell-utf8-string/haskell-utf8-string.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-utf8-string +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