Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # custom variables
- pkgname=haskell-alsa-core
- 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)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement