updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / xmonad-contrib-darcs / xmonad-contrib.install
blobba81f0ba2ec6daba446cc82bcec873d16a751fbf
1 HS_DIR=/usr/share/haskell/xmonad-contrib-darcs
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 $*