Commit 54eec3c8 authored by Aral Balkan's avatar Aral Balkan

Return success value on exit of install script

Previously, the termination signal sent to the builder
process was being bubbled through as the exit status
and the main Better installer was failing because
of it.
parent 501eeb49
......@@ -378,6 +378,11 @@ flagEnd(){
rm /tmp/better.fyi.builder.installation.is.incomplete
}
goodbye(){
echo "Better Builder successfully installed."
exit 0
}
ensureDependenciesExist(){
ensureCoffeeScriptExists
......@@ -405,6 +410,7 @@ main(){
ensureDependenciesExist
installSelf
flagEnd
goodbye
}
main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment