so far for ppc
[archlinuxppc.git] / ghc / ghc.install
1 pkgname=ghc
2
3 pre_upgrade() {
4     cat << EOF
5     ==> Unregistering cabalized packages...
6 EOF
7     cd /usr/share/haskell/ && (for a in *; do ghc-pkg unregister --force $a &> /dev/null; done; cd - > /dev/null )
8     cat << EOF
9     ==> Done.
10 EOF
11     
12 }
13
14 post_upgrade() {
15     cat << EOF
16     ==> All cabalized and yaourt-installed packages need to be reinstalled now.
17     ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
18 EOF
19 }
20
21 op=$1
22 shift