desktop/haskell-json/haskell-json.install

24 lines
426 B
Plaintext
Raw Normal View History

2014-04-25 07:31:51 +08:00
HS_DIR=usr/share/haskell/haskell-json
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)
}