Added repo updates

This commit is contained in:
gpkvt 2023-07-14 22:56:07 +02:00
parent 67db48d53f
commit b2b409b918
1 changed files with 9 additions and 0 deletions

View File

@ -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}"