See if this works better
This commit is contained in:
parent
2e9cbc49e4
commit
d9c1bd3085
4
qsgen2
4
qsgen2
@ -145,7 +145,7 @@ fi
|
|||||||
if [[ ${generator} == "native" ]]; then
|
if [[ ${generator} == "native" ]]; then
|
||||||
# Usage: ${engine} ${1} - Where 1 is the file you want to convert
|
# Usage: ${engine} ${1} - Where 1 is the file you want to convert
|
||||||
engine=_html
|
engine=_html
|
||||||
file_ext=tpl
|
export file_ext=tpl
|
||||||
elif [[ ${generator} == "markdown" ]]; then
|
elif [[ ${generator} == "markdown" ]]; then
|
||||||
if [[ ! -f /usr/bin/markdown ]]; then
|
if [[ ! -f /usr/bin/markdown ]]; then
|
||||||
_msg other "Please install the 'discount' package to use Markdown."
|
_msg other "Please install the 'discount' package to use Markdown."
|
||||||
@ -153,7 +153,7 @@ elif [[ ${generator} == "markdown" ]]; then
|
|||||||
else
|
else
|
||||||
# Usage: ${engine} ${1} - Where 1 is the file you want parsed
|
# Usage: ${engine} ${1} - Where 1 is the file you want parsed
|
||||||
engine="/usr/bin/markdown ${1} -d"
|
engine="/usr/bin/markdown ${1} -d"
|
||||||
file_ext=md
|
export file_ext=md
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if (${debug}) _msg debug "Using the ${generator} engine"
|
if (${debug}) _msg debug "Using the ${generator} engine"
|
||||||
|
Loading…
Reference in New Issue
Block a user