You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718
  1. #!/bin/sh
  2. #
  3. # pbrisbin 2014 - install "system" Haskell packages.
  4. #
  5. ###
  6. set -e
  7. if [ "$1" = 'clear' ]; then
  8. rm -fr \
  9. ~/.ghc \
  10. ~/.cabal/bin/* \
  11. ~/.cabal/packages/*/* \
  12. fi
  13. cd # avoid accidental sandbox installation
  14. cabal update
  15. cabal install cabal-install --avoid-reinstalls
  16. cabal install hi msu pandoc xmonad xmonad-contrib --avoid-reinstalls