This commit is contained in:
David Tomaschik
2017-11-01 08:54:37 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -59,9 +59,13 @@ function install_git {
local DESTDIR="${2}" local DESTDIR="${2}"
if [[ -d ${DESTDIR}/.git ]] ; then if [[ -d ${DESTDIR}/.git ]] ; then
( cd ${DESTDIR} ; git pull -q ) ( cd ${DESTDIR} ; git pull -q )
else
if [[ ${MINIMAL} -eq 1 ]] ; then
git clone --depth 1 ${REPO} ${DESTDIR}
else else
git clone ${REPO} ${DESTDIR} git clone ${REPO} ${DESTDIR}
fi fi
fi
} }
function add_bin_symlink { function add_bin_symlink {

Binary file not shown.