desktop/xmonad/xmonad.install

28 lines
477 B
Plaintext
Raw Normal View History

2013-09-01 21:56:22 +08:00
HS_DIR=usr/share/haskell/xmonad
#pre_install() {
# echo "insert pre_install routine here"
#}
2013-08-25 18:17:20 +08:00
post_install() {
2013-09-01 21:56:22 +08:00
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
2013-08-25 18:17:20 +08:00
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
2013-09-01 21:56:22 +08:00
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
2013-08-25 18:17:20 +08:00
}
pre_remove() {
${HS_DIR}/unregister.sh
}
2013-09-01 21:56:22 +08:00
post_remove() {
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}