diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-28 10:08:59 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-28 10:08:59 -0200 |
commit | 0111b976856b382778d7c6b89c8aaad6ec3a56a5 (patch) | |
tree | a8490a15fffc4874f807118cdbf8342e3d68167c | |
parent | 75033b2ca3a177908c464d970860074813fc642a (diff) | |
download | templater-0111b976856b382778d7c6b89c8aaad6ec3a56a5.tar.gz templater-0111b976856b382778d7c6b89c8aaad6ec3a56a5.tar.bz2 |
Check if implementation exists
-rwxr-xr-x | templater | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |