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