mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-23 18:50:46 +01:00
Merge pull request #779 from BastilleBSD/revert-pr-770
Revert "Merge pull request #770 from tschettervictor/patch-7"
This commit is contained in:
@@ -188,17 +188,15 @@ case ${TEMPLATE} in
|
|||||||
;;
|
;;
|
||||||
*/*)
|
*/*)
|
||||||
if [ ! -d "${bastille_templatesdir}/${TEMPLATE}" ]; then
|
if [ ! -d "${bastille_templatesdir}/${TEMPLATE}" ]; then
|
||||||
|
if [ ! -d ${TEMPLATE} ]; then
|
||||||
error_exit "${TEMPLATE} not found."
|
error_exit "${TEMPLATE} not found."
|
||||||
else
|
else
|
||||||
bastille_template=${TEMPLATE}
|
bastille_template=${TEMPLATE}
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [ ! -f ${TEMPLATE}/Bastillefile ]; then
|
error_exit "Template name/URL not recognized."
|
||||||
error_exit "${TEMPLATE} not found."
|
|
||||||
else
|
|
||||||
bastille_template=${TEMPLATE}
|
|
||||||
fi
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ -z "${JAILS}" ]; then
|
if [ -z "${JAILS}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user