Skip to content
This repository has been archived by the owner on Jun 30, 2020. It is now read-only.

Commit

Permalink
Added force-update flag
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Dec 14, 2014
1 parent 0fcf5e1 commit 1d7178d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vv
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function check_how_installed () {
if [[ ! -z $(which brew) ]]; then
brew_install_location=$(brew --prefix)
if [[ -f $brew_install_location"/bin/vv" ]]; then

installed_with_brew="true"
else
installed_with_brew="false"
Expand Down Expand Up @@ -963,6 +962,10 @@ function parse_the_args() {
fi
if [ ! -z "$lets_update" ]; then
install_update
if [ ! -z "$force_update"]; then
installed_with_brew="false"
update_vv
fi
else
check_for_update
fi
Expand Down Expand Up @@ -1237,6 +1240,10 @@ function check_args() {
lets_update="true"
shift
;;
--force-update)
force_update="true"
shift
;;
-bi|--blueprint-init)
blueprint_init="true"
shift
Expand Down

0 comments on commit 1d7178d

Please sign in to comment.