diff options
author | Rudy Matela | 2017-11-02 09:05:03 +0000 |
---|---|---|
committer | Rudy Matela | 2017-11-02 09:05:19 +0000 |
commit | 9d3f72b0cbf9e098bf9a669445a7c9fa3340584d (patch) | |
tree | fd1ed12506130b5b97485bcba82d3527fd216585 /ghc.install | |
download | aur-9d3f72b0cbf9e098bf9a669445a7c9fa3340584d.tar.gz |
Initial import (ghc8.0-8.0.2-1)
Diffstat (limited to 'ghc.install')
-rw-r--r-- | ghc.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ghc.install b/ghc.install new file mode 100644 index 000000000000..d0a7eba3564c --- /dev/null +++ b/ghc.install @@ -0,0 +1,10 @@ +pre_upgrade() { + echo '==> Unregistering cabalized packages...' + [[ -d /usr/share/haskell-ghc-8.0 ]] && find /usr/share/haskell-ghc-8.0 -maxdepth 2 -name 'unregister.sh' -exec {} \; + echo '==> Done.' +} + +post_upgrade() { + echo '==> All cabalized packages need to be reinstalled now.' + echo '==> See /usr/share/haskell-ghc-8.0/ and ghc-pkg-8.0 list --user for a tentative list of affected packages.' +} |