Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor2 #42

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
setup.sh boostrap calls the bootstrap.ch script
  • Loading branch information
dportabella committed Aug 13, 2016
commit 31f5aa008074c5937420b8f847737138cfdc3068
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ function runDots() {
echo "Syncing the dev-setup repo to your local machine."
echo "------------------------------"
echo ""
cd ~ && curl -#L https://github.com/donnemartin/dev-setup/tarball/master | tar -xzv --strip-components 1 --exclude={README.md,LICENSE}
./bootstrap.sh
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could update the echo description and use the --force flag to prevent the double confirmation prompt "This script may overwrite existing files in your home directory. Are you sure? (y/n)":

...
        if [ $ARG == "bootstrap" ] || [ $ARG == "all" ]; then
            echo ""
            echo "------------------------------"
            echo "Syncing the dev-setup dotfiles to your home directory."
            echo "------------------------------"
            echo ""
            ./bootstrap.sh --force
        fi
...

fi
if [ $ARG == "osxprep" ] || [ $ARG == "all" ]; then
# Run the osxprep.sh Script