mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Improve minimal mode.
This commit is contained in:
@@ -60,7 +60,11 @@ function install_git {
|
||||
if [[ -d ${DESTDIR}/.git ]] ; then
|
||||
( cd ${DESTDIR} ; git pull -q )
|
||||
else
|
||||
git clone ${REPO} ${DESTDIR}
|
||||
if [[ ${MINIMAL} -eq 1 ]] ; then
|
||||
git clone --depth 1 ${REPO} ${DESTDIR}
|
||||
else
|
||||
git clone ${REPO} ${DESTDIR}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user