diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-09-24 10:51:05 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-09-24 10:51:05 +0900 |
commit | 98d2bfa0db3cd605f05b518338d95d4227dabb75 (patch) | |
tree | 0dea5203c829fc71956539d1dccb2317b696d437 | |
parent | aec48f159b66c0ef3be643741a2cbe99b512aa26 (diff) |
[install] Terminate install script when failed to update shell config0.10.6
Close #354
-rwxr-xr-x | install | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -245,6 +245,7 @@ EOF fi append_line() { + set -e echo "Update $2:" echo " - $1" [ -f "$2" ] || touch "$2" @@ -261,6 +262,7 @@ append_line() { echo " + Added" fi echo + set +e } echo |