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 02b97d2 commit c24a328Copy full SHA for c24a328
.scripts/update_templates.sh
@@ -114,7 +114,9 @@ commands_update_templates() {
114
fi
115
116
info "Cleaning up unnecessary files and optimizing the local repository."
117
- git -C "${TEMPLATES_PARENT_FOLDER}" gc 2>&1 || true
+ RunAndLog info "git:info" \
118
+ "" "" \
119
+ git -C "${TEMPLATES_PARENT_FOLDER}" gc 2>&1 || 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