diff options
author | root <root@rshg054.dnsready.net> | 2011-11-20 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-11-20 23:14:50 +0000 |
commit | 70b4878648fd376433739bd5c835503f6301a5b2 (patch) | |
tree | c74d46f8e06305505e381202251b6f71ca33c3e7 /testing/ghc/ghc.install | |
parent | a3024f8996981b28ced27466cbd1d4ab40e57324 (diff) |
Sun Nov 20 23:14:50 UTC 2011
Diffstat (limited to 'testing/ghc/ghc.install')
-rw-r--r-- | testing/ghc/ghc.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/ghc/ghc.install b/testing/ghc/ghc.install new file mode 100644 index 000000000..7d56083bc --- /dev/null +++ b/testing/ghc/ghc.install @@ -0,0 +1,19 @@ +pkgname=ghc + +pre_upgrade() { + cat << EOF + ==> Unregistering cabalized packages... +EOF + cd /usr/share/haskell/ && (for a in *; do ghc-pkg unregister --force $a &> /dev/null; done; cd - > /dev/null ) + cat << EOF + ==> Done. +EOF + +} + +post_upgrade() { + cat << EOF + ==> All cabalized and yaourt-installed packages need to be reinstalled now. + ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages. +EOF +} |