Skip to content

Commit

Permalink
Revert "Merge pull request #770 from tschettervictor/patch-7"
Browse files Browse the repository at this point in the history
This reverts commit 649c337, reversing
changes made to 7d3ca7b.
  • Loading branch information
jdhg-orbiware committed Dec 29, 2024
1 parent 649c337 commit 383f968
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions usr/local/share/bastille/template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,17 +188,15 @@ case ${TEMPLATE} in
;;
*/*)
if [ ! -d "${bastille_templatesdir}/${TEMPLATE}" ]; then
if [ ! -d ${TEMPLATE} ]; then
error_exit "${TEMPLATE} not found."
else
else
bastille_template=${TEMPLATE}
fi
fi
;;
*)
if [ ! -f ${TEMPLATE}/Bastillefile ]; then
error_exit "${TEMPLATE} not found."
else
bastille_template=${TEMPLATE}
fi
error_exit "Template name/URL not recognized."
esac

if [ -z "${JAILS}" ]; then
Expand Down

0 comments on commit 383f968

Please sign in to comment.