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