patch applied (cabal-install): Rewrite the bootstrap.sh script