diff options
Diffstat (limited to 'haskell-alsa-mixer.install')
-rw-r--r-- | haskell-alsa-mixer.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/haskell-alsa-mixer.install b/haskell-alsa-mixer.install new file mode 100644 index 000000000000..3392eccbd3c3 --- /dev/null +++ b/haskell-alsa-mixer.install @@ -0,0 +1,27 @@ +# custom variables +pkgname=haskell-alsa-mixer +HS_DIR=/usr/share/haskell/${pkgname} + +# functions +post_install() { + ${HS_DIR}/register.sh + (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh + (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + |