updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / haskell-dbus-core-parsec3 / haskell-dbus-core.install
blob8e5ff58090a6700a2164866214191d2171f1dd9a
1 HS_DIR=/usr/share/haskell/haskell-dbus-core
2 post_install() {
3   ${HS_DIR}/register.sh
4   (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
6 pre_upgrade() {
7   ${HS_DIR}/unregister.sh
9 post_upgrade() {
10   ${HS_DIR}/register.sh
11   (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
13 pre_remove() {
14   ${HS_DIR}/unregister.sh
16 post_remove() {
17   (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
19 op=$1
20 shift
21 $op $*