Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

Commit

Permalink
Revert "Added "dsh update everything" to run a complete update sequence"
Browse files Browse the repository at this point in the history
This reverts commit 283bc04.
  • Loading branch information
lmakarov committed Apr 15, 2016
1 parent 191ff4b commit b4c12e4
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions bin/dsh
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ show_help ()
fi
echo " update images Update container images"
echo " update dsh Update dsh itself (ex. dsh self-update)"
echo " update everything Run full update sequence (update dsh, prerequisites and boot2docker VM on Mac/Windows)"
echo
echo " version (-v) Print dsh version"
echo
Expand Down Expand Up @@ -941,21 +940,6 @@ update_dsh ()
exit
}

# Full update sequence
update_everything ()
{
echo-green "Updating dsh..."
update_dsh

echo-green "Updating prerequisites..."
install_prerequisites

if ! is_linux; then
echo-green "Updating boot2docker..."
update_boot2docker
fi
}

# Start interactive bash in container
# @param $1 container name (defaults to cli)
_bash ()
Expand Down Expand Up @@ -1307,10 +1291,8 @@ case $1 in
update_images
elif [[ "$1" == "dsh" ]]; then
update_dsh
elif [[ "$1" == "everything" ]]; then
update_everything
else
echo "Use dsh update [prerequisites|boot2docker|images|dsh|everything]"
echo "Use dsh update [prerequisites|boot2docker|images|dsh]"
fi
;;
self-update)
Expand Down

0 comments on commit b4c12e4

Please sign in to comment.