mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-24 08:32:29 +01:00
Merge pull request #1376 from BastilleBSD/tschettervictor-patch-1
bootstrap: only remove repo, not templates
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user