Merge pull request #1376 from BastilleBSD/tschettervictor-patch-1

bootstrap: only remove repo, not templates
This commit is contained in:
tschettervictor
2025-12-19 16:38:31 -07:00
committed by GitHub

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}"