See if this works better

This commit is contained in:
Stig-Ørjan Smelror 2024-02-01 17:56:50 +01:00
parent 2e9cbc49e4
commit d9c1bd3085

4
qsgen2
View File

@ -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"