Commit 330a9994 authored by Aral Balkan's avatar Aral Balkan

Now quits if it finds an existing component.

parent 9b0b0b24
......@@ -274,9 +274,9 @@ install(){
# Check if a Better Builder installation exists.
if [ -d componentToInstall ]; then
echo " • Existing ${humanName} found. Skipping installation."
return 0
if [ -d $componentToInstall ]; then
echo "\n • Error: Existing ${humanName} found.\n\nPlease remove this if you want to reinstall it. You can uninstall existing Better components and data using the ./uninstall script.\n\nExiting.\n"
exit 1
echo "\n • Cloning ${humanName}…"
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