Skip to content

Commit c24a328

Browse files
committed
Update update_templates.sh
1 parent 02b97d2 commit c24a328

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.scripts/update_templates.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ commands_update_templates() {
114114
fi
115115
fi
116116
info "Cleaning up unnecessary files and optimizing the local repository."
117-
git -C "${TEMPLATES_PARENT_FOLDER}" gc 2>&1 || true
117+
RunAndLog info "git:info" \
118+
"" "" \
119+
git -C "${TEMPLATES_PARENT_FOLDER}" gc 2>&1 || true
118120
info "Setting file ownership on new repository files"
119121
git -C "${TEMPLATES_PARENT_FOLDER}" ls-tree -rt --name-only "${Branch}" | xargs sudo chown "${DETECTED_PUID}":"${DETECTED_PGID}" &> /dev/null || true
120122
sudo chown -R "${DETECTED_PUID}":"${DETECTED_PGID}" "${TEMPLATES_PARENT_FOLDER}/.git" &> /dev/null || true

0 commit comments

Comments
 (0)