desktop/haskell-html/haskell-html.install
Adrian Chaves Fernandez (Gallaecio) 739d39d11a GHC group upgraded.
2011-10-09 18:06:48 +00:00

22 lines
440 B
Plaintext

HS_DIR=/usr/share/haskell/haskell-binary
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)
}
op=$1
shift
$op $*