proto-haskell.install 251 Bytes
Newer Older
1
pkgname=NAME
matt mooney's avatar
matt mooney committed
2
HS_DIR="usr/share/haskell/$pkgname"
3
4

post_install() {
matt mooney's avatar
matt mooney committed
5
  "$HS_DIR/register.sh"
6
7
8
}

pre_upgrade() {
matt mooney's avatar
matt mooney committed
9
  "$HS_DIR/unregister.sh"
10
11
12
}

post_upgrade() {
matt mooney's avatar
matt mooney committed
13
  "$HS_DIR/register.sh"
14
15
16
}

pre_remove() {
matt mooney's avatar
matt mooney committed
17
  "$HS_DIR/unregister.sh"
18
19
20
}

# vim:set ts=2 sw=2 et: