Git installations now default to the develop branch.

Salt no longer has the master branch in git, install from develop as default.
Fixes #279.
This commit is contained in:
Pedro Algarvio 2014-01-15 16:00:47 +00:00
parent 57c4922d74
commit 9c4ebdc47d
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
Version 1.5.10:
* Salt no longer has the master branch in git, install from develop as default.
* Installing from Git on Red Hat based distributions now also needs `yum-utils` installed.
* Allow the script to use a different git repository to install from.
* Fixed a bug where a branch name with dashes would be wrongly detected as an option to the

View file

@ -343,7 +343,7 @@ fi
# If doing a git install, check what branch/tag/sha will be checked out
if [ $ITYPE = "git" ]; then
if [ "$#" -eq 0 ];then
GIT_REV="master"
GIT_REV="develop"
else
__check_unparsed_options "$*"
GIT_REV="$1"