mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Make install git pull before installing.
This commit is contained in:
@@ -335,6 +335,8 @@ install_dotfiles() {
|
||||
}
|
||||
|
||||
install_main() {
|
||||
test -d ${BASEDIR}/.git && command -v git >/dev/null 2>&1 && \
|
||||
git -C ${BASEDIR} pull
|
||||
test $MINIMAL = 1 || command -v git >/dev/null 2>&1 && \
|
||||
git -C ${BASEDIR} submodule update --init --recursive
|
||||
test $MINIMAL = 1 || prerequisites
|
||||
|
||||
Reference in New Issue
Block a user