From b2b409b918a3d0ea99b520da54a37b355516de9b Mon Sep 17 00:00:00 2001 From: gpkvt Date: Fri, 14 Jul 2023 22:56:07 +0200 Subject: [PATCH] Added repo updates --- install.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/install.zsh b/install.zsh index 2d0bb73..f36f278 100755 --- a/install.zsh +++ b/install.zsh @@ -40,6 +40,15 @@ tools=( GIT_ROOT=$(git rev-parse --show-toplevel) cd ${GIT_ROOT} +if [[ ${1} == "update" ]]; then + echo "Updating repos" + cd ${GIT_ROOT}/private/ + git pull origin main + + cd ${GIT_ROOT} + git pull origin main +fi + for file in $(ls -1 ./**/deploy.zsh); do chmod +x ${file} echo "Executing ${file}"