bootstrap: only remove repo, not templates

This commit is contained in:
tschettervictor
2025-12-19 16:23:27 -07:00
committed by GitHub
parent a9071cad21
commit 13552b6b7e

View File

@@ -495,10 +495,7 @@ bootstrap_template() {
done
# Remove the cloned repo
if [ -n "${user}" ]; then
rm -r "${bastille_templatesdir:?}/${user:?}"
fi
rm -r "${raw_template_dir:?}"
else
# Verify a single template
bastille verify "${user}/${repo}"