diff options
author | root <root@rshg054.dnsready.net> | 2012-10-03 01:32:13 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-03 01:32:13 -0700 |
commit | 1350233b6dc1924ba29a42462447995f26dae0dc (patch) | |
tree | 5dfb3384023621f023e449f02df1f035a9b45170 /community-staging/haskell-pango/gtk2hs-pango.install | |
parent | 941550cbc215d608bd18439f99500b74fbb80f0d (diff) |
Wed Oct 3 01:31:01 PDT 2012
Diffstat (limited to 'community-staging/haskell-pango/gtk2hs-pango.install')
-rw-r--r-- | community-staging/haskell-pango/gtk2hs-pango.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/community-staging/haskell-pango/gtk2hs-pango.install b/community-staging/haskell-pango/gtk2hs-pango.install new file mode 100644 index 000000000..f2be2100f --- /dev/null +++ b/community-staging/haskell-pango/gtk2hs-pango.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/gtk2hs-pango +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) +} |