updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / haskell-dbus-client3 / haskell-dbus-client.install
blob9765b74a8abda7f393e3259042276c8cf5622304
1 HS_DIR=/usr/share/haskell/haskell-dbus-client
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 $*