desktop/haskell-html/haskell-html.install

19 lines
415 B
Plaintext
Raw Normal View History

2012-06-17 09:41:12 +08:00
HS_DIR=usr/share/haskell/haskell-html
post_install() {
${HS_DIR}/register.sh
2012-06-17 09:41:12 +08:00
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
2011-10-10 02:06:48 +08:00
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
2012-06-17 09:41:12 +08:00
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
2012-06-17 09:41:12 +08:00
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}