diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-21 00:04:06 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-21 00:04:06 +0000 |
commit | 6a7dcacff017b3bbeeb52845b496e4ebd0defe2a (patch) | |
tree | 0edf65d74c5bc16bf6374434d1b548c1efde1d56 | |
parent | b6980f4b0544b7c840d87543b7463f38a71fb925 (diff) | |
download | sariulclocks-6a7dcacff017b3bbeeb52845b496e4ebd0defe2a.tar.gz |
make deploy.sh better on a new host: cabal update etc.
-rwxr-xr-x | deploy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,6 +25,12 @@ mkdir -p $dest # 2. build our software +if ! [ -d "$HOME/.cabal/config" ]; then + mkcabalc +fi +if ! [ -d "$HOME/.cabal/packages" ]; then + cabal update +fi if ! [ -d ".cabal-sandbox" ]; then cabal sandbox init fi |