Skip to content

Commit 191d0ff

Browse files
committed
Update update_templates.sh
1 parent c24a328 commit 191d0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.scripts/update_templates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ commands_update_templates() {
116116
info "Cleaning up unnecessary files and optimizing the local repository."
117117
RunAndLog info "git:info" \
118118
"" "" \
119-
git -C "${TEMPLATES_PARENT_FOLDER}" gc 2>&1 || true
119+
git -C "${TEMPLATES_PARENT_FOLDER}" gc || true
120120
info "Setting file ownership on new repository files"
121121
git -C "${TEMPLATES_PARENT_FOLDER}" ls-tree -rt --name-only "${Branch}" | xargs sudo chown "${DETECTED_PUID}":"${DETECTED_PGID}" &> /dev/null || true
122122
sudo chown -R "${DETECTED_PUID}":"${DETECTED_PGID}" "${TEMPLATES_PARENT_FOLDER}/.git" &> /dev/null || true

0 commit comments

Comments
 (0)