desktop/haskell-utf8-string/haskell-utf8-string.install
2012-06-17 02:18:28 +00:00

19 lines
422 B
Plaintext

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)
}