pre_upgrade() { | |
echo '==> Unregistering cabalized packages...' | |
[[ -d /clang64/share/haskell ]] && find /clang64/share/haskell -maxdepth 2 -name 'unregister.sh' -exec {} \; | |
echo '==> Done.' | |
} | |
post_upgrade() { | |
echo '==> All cabalized packages need to be reinstalled now.' | |
echo '==> See /clang64/share/haskell/ for a tentative list of affected packages.' | |
} |