mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-22 02:00:08 +01:00
bootstrap: Bugfix when bootstrapping single template
This commit is contained in:
@@ -430,13 +430,15 @@ bootstrap_template() {
|
|||||||
cp -fR "${_project}" "${bastille_templatesdir}/${_template}"
|
cp -fR "${_project}" "${bastille_templatesdir}/${_template}"
|
||||||
bastille verify "${_complete_template}"
|
bastille verify "${_complete_template}"
|
||||||
done
|
done
|
||||||
else
|
|
||||||
bastille verify "${_user}/${_repo}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove the cloned repo
|
# Remove the cloned repo
|
||||||
if [ -n "${_user}" ]; then
|
if [ -n "${_user}" ]; then
|
||||||
rm -r "${bastille_templatesdir}/${_user}"
|
rm -r "${bastille_templatesdir}/${_user}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
else
|
||||||
|
# Verify a single template
|
||||||
|
bastille verify "${_user}/${_repo}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user