desktop/haskell-terminfo/haskell-terminfo.install

28 lines
487 B
Plaintext
Raw Normal View History

HS_DIR=usr/share/haskell/haskell-terminfo
2013-12-13 06:32:36 +08:00
#pre_install() {
# echo "insert pre_install routine here"
#}
post_install() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
2013-12-13 06:32:36 +08:00
pre_upgrade() {
${HS_DIR}/unregister.sh
}
2013-12-13 06:32:36 +08:00
post_upgrade() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
2013-12-13 06:32:36 +08:00
pre_remove() {
${HS_DIR}/unregister.sh
}
2013-12-13 06:32:36 +08:00
post_remove() {
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}