PKGBUILDs/extra/haskell-extensible-exceptions/haskell-extensible-exceptions.install

17 lines
248 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
HS_DIR=/usr/share/haskell/haskell-extensible-exceptions
post_install() {
${HS_DIR}/register.sh
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
}
pre_remove() {
${HS_DIR}/unregister.sh
}
op=$1
shift
$op $*