updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / gtk2hs-glade / gtk2hs-glade.install
blob58edc3ab9321bd27e34e0f7b74be618295645558
1 HS_DIR=/usr/share/haskell/gtk2hs-glade
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 $*