We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24a328 commit 191d0ffCopy full SHA for 191d0ff
.scripts/update_templates.sh
@@ -116,7 +116,7 @@ commands_update_templates() {
116
info "Cleaning up unnecessary files and optimizing the local repository."
117
RunAndLog info "git:info" \
118
"" "" \
119
- git -C "${TEMPLATES_PARENT_FOLDER}" gc 2>&1 || true
+ git -C "${TEMPLATES_PARENT_FOLDER}" gc || true
120
info "Setting file ownership on new repository files"
121
git -C "${TEMPLATES_PARENT_FOLDER}" ls-tree -rt --name-only "${Branch}" | xargs sudo chown "${DETECTED_PUID}":"${DETECTED_PGID}" &> /dev/null || true
122
sudo chown -R "${DETECTED_PUID}":"${DETECTED_PGID}" "${TEMPLATES_PARENT_FOLDER}/.git" &> /dev/null || true
0 commit comments