Improve minimal mode.

This commit is contained in:
David Tomaschik
2017-10-30 19:34:34 -07:00
parent 4edf1e6b01
commit a6df743476

View File

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