mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Shallow clones
This commit is contained in:
3
clone.sh
3
clone.sh
@@ -15,10 +15,9 @@ function installer_main {
|
||||
fi ) || ( echo 'Failed to install git!' >/dev/stderr; false)
|
||||
fi
|
||||
|
||||
git clone https://github.com/Matir/skel.git ${HOME}/.skel
|
||||
git clone --depth 1 https://github.com/Matir/skel.git ${HOME}/.skel
|
||||
|
||||
${HOME}/.skel/install.sh
|
||||
${HOME}/.skel/install.sh packages minimal
|
||||
}
|
||||
|
||||
installer_main
|
||||
|
||||
@@ -348,7 +348,7 @@ install_main() {
|
||||
command -v git >/dev/null 2>&1 && \
|
||||
git -C "${BASEDIR}" pull --ff-only
|
||||
test "$MINIMAL" = 1 || ( command -v git >/dev/null 2>&1 && \
|
||||
git -C "${BASEDIR}" submodule update --init --recursive )
|
||||
git -C "${BASEDIR}" submodule update --init --recursive --depth 1 )
|
||||
fi
|
||||
test "$MINIMAL" = 1 || prerequisites
|
||||
install_dotfiles
|
||||
|
||||
Reference in New Issue
Block a user