From: Silvio Rhatto Date: Sat, 28 Oct 2017 12:08:59 +0000 (-0200) Subject: Check if implementation exists X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0111b976856b382778d7c6b89c8aaad6ec3a56a5;p=templater.git Check if implementation exists --- diff --git a/templater b/templater index c2b20b8..377295a 100755 --- a/templater +++ b/templater @@ -492,7 +492,11 @@ if [ -z "$MODULES" ]; then done else for module in $MODULES; do - templater_$module + if `__templater_implementations | grep -q "^$module"`; then + templater_$module + else + __templater_echo "No such module $module, skipping" + fi done fi