Minor tweaks to Kalibrate install script

pull/334/head
romeo-golf 2017-01-08 18:53:03 +00:00
rodzic 64b3518f7a
commit acaf5ec5b9
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -82,8 +82,11 @@ if [[ true ]] ; then
ACTION=$(git remote update 2>&1)
if [[ `git status -uno | grep -c "is behind"` -gt 0 ]] ; then
# Local branch is behind remote so update.
echo -en "\e[33m Updating ${BETA_GITHUB_PROJECT} from \"\e[37m${BETA_GITHUB_URL_SHORT}\e[33m\"...\e[97m"
ACTION=$(git pull 2>&1)
DO_INSTALL_FROM_GIT="true"
else
echo -en "\e[33m Local copy of ${BETA_GITHUB_PROJECT} is up to date with \"\e[37m${BETA_GITHUB_URL_SHORT}\e[33m\"...\e[97m"
fi
else
# Otherwise clone from github.