mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
Merge pull request #445 from frikilax/custom_template_path
TEMPLATE.SH::ADDED:: ability to apply templates using a custom directory path
This commit is contained in:
@@ -186,7 +186,11 @@ case ${TEMPLATE} in
|
|||||||
;;
|
;;
|
||||||
*/*)
|
*/*)
|
||||||
if [ ! -d "${bastille_templatesdir}/${TEMPLATE}" ]; then
|
if [ ! -d "${bastille_templatesdir}/${TEMPLATE}" ]; then
|
||||||
error_exit "${TEMPLATE} not found."
|
if [ ! -d ${TEMPLATE} ]; then
|
||||||
|
error_exit "${TEMPLATE} not found."
|
||||||
|
else
|
||||||
|
bastille_template=${TEMPLATE}
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|||||||
Reference in New Issue
Block a user