From 61933bbbfbf9c3fe72b7491b77fe5f3556ebc036 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 27 Feb 2018 00:15:14 -0500 Subject: [PATCH] [provisioning] Set correct error flag --- recipes/_apt | 2 +- recipes/_path | 2 +- recipes/apib | 2 +- recipes/base | 2 +- recipes/bin | 2 +- recipes/brew | 2 +- recipes/elm | 2 +- recipes/emacs | 2 +- recipes/email | 2 +- recipes/erlang | 2 +- recipes/exercism | 2 +- recipes/git | 2 +- recipes/haskell | 2 +- recipes/ledger | 2 +- recipes/mit-scheme | 2 +- recipes/nvm | 2 +- recipes/pandoc | 2 +- recipes/prolog | 2 +- recipes/python3 | 2 +- recipes/shell-utils | 2 +- recipes/tex | 2 +- recipes/zsh | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/recipes/_apt b/recipes/_apt index ba5fc35..ac9b8f6 100644 --- a/recipes/_apt +++ b/recipes/_apt @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e if [ -z "$__apt_updated" ]; then _run "Update APT cache" sudo apt-get update diff --git a/recipes/_path b/recipes/_path index 6f281d8..3d54030 100644 --- a/recipes/_path +++ b/recipes/_path @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e function __addline { local filename=$1 diff --git a/recipes/apib b/recipes/apib index f67f46c..193581b 100644 --- a/recipes/apib +++ b/recipes/apib @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe nvm _npm drafter diff --git a/recipes/base b/recipes/base index 4b9c4a3..8b09e23 100644 --- a/recipes/base +++ b/recipes/base @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _recipe shell-utils diff --git a/recipes/bin b/recipes/bin index bcf03e9..f9bcc54 100644 --- a/recipes/bin +++ b/recipes/bin @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe _path _run "Add dotfiles/bin to PATH" _path_high ${HOME}/dotfiles/bin diff --git a/recipes/brew b/recipes/brew index d181a96..d7f73d9 100644 --- a/recipes/brew +++ b/recipes/brew @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e function _brew { local pkg=$1 diff --git a/recipes/elm b/recipes/elm index 5f98307..9fe72a5 100644 --- a/recipes/elm +++ b/recipes/elm @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe nvm _npm elm-oracle diff --git a/recipes/emacs b/recipes/emacs index 6c38746..5a7861d 100644 --- a/recipes/emacs +++ b/recipes/emacs @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew diff --git a/recipes/email b/recipes/email index 37698ad..986bff5 100644 --- a/recipes/email +++ b/recipes/email @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew isync diff --git a/recipes/erlang b/recipes/erlang index a65bad4..ff1b514 100644 --- a/recipes/erlang +++ b/recipes/erlang @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew kerl diff --git a/recipes/exercism b/recipes/exercism index 5d8faec..0e013c3 100644 --- a/recipes/exercism +++ b/recipes/exercism @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew exercism diff --git a/recipes/git b/recipes/git index 6213a60..0f9bf37 100644 --- a/recipes/git +++ b/recipes/git @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e case $_PLATFORM in darwin) diff --git a/recipes/haskell b/recipes/haskell index 43d068b..b9bd6c4 100644 --- a/recipes/haskell +++ b/recipes/haskell @@ -1,4 +1,4 @@ #!/bin/bash -set +e +set -e _brew haskell-stack diff --git a/recipes/ledger b/recipes/ledger index 2128e60..e808686 100644 --- a/recipes/ledger +++ b/recipes/ledger @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew ledger diff --git a/recipes/mit-scheme b/recipes/mit-scheme index 1bb21d9..ddf1923 100644 --- a/recipes/mit-scheme +++ b/recipes/mit-scheme @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew mit-scheme diff --git a/recipes/nvm b/recipes/nvm index 5ac45c6..5f580a0 100644 --- a/recipes/nvm +++ b/recipes/nvm @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e function __install_nvm { curl -s -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash diff --git a/recipes/pandoc b/recipes/pandoc index 7202853..f88c452 100644 --- a/recipes/pandoc +++ b/recipes/pandoc @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew pandoc \ No newline at end of file diff --git a/recipes/prolog b/recipes/prolog index 30a0c22..bedfa1b 100644 --- a/recipes/prolog +++ b/recipes/prolog @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew swi-prolog diff --git a/recipes/python3 b/recipes/python3 index 764e52c..40373b6 100644 --- a/recipes/python3 +++ b/recipes/python3 @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew _brew python3 diff --git a/recipes/shell-utils b/recipes/shell-utils index 95ad26d..b326039 100644 --- a/recipes/shell-utils +++ b/recipes/shell-utils @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e _recipe brew diff --git a/recipes/tex b/recipes/tex index 607d493..1c71294 100644 --- a/recipes/tex +++ b/recipes/tex @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e case "$(uname -s)" in Darwin) diff --git a/recipes/zsh b/recipes/zsh index 5e7cd91..d723a4d 100644 --- a/recipes/zsh +++ b/recipes/zsh @@ -1,5 +1,5 @@ #!/bin/bash -set +e +set -e case $_PLATFORM in darwin)