Daniel Gibbs hace 10 años
padre
commit
661e579dbe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/core_dl.sh

+ 1 - 1
functions/core_dl.sh

@@ -20,7 +20,7 @@ lgsm_version="050216"
 
 
 fn_dl_md5(){
 fn_dl_md5(){
 # Runs MD5 Check if available
 # Runs MD5 Check if available
-if [ -n "${md5}" ]||[ "${md5}" == "nomd5" ]; then
+if [ -n "${md5}" ]||[ "${md5}" != "nomd5" ]; then
 	echo -ne "verifying ${filename} with MD5..."
 	echo -ne "verifying ${filename} with MD5..."
 	sleep 1
 	sleep 1
 	local md5sumcmd=$(md5sum "${filedir}/${filename}"|awk '{print $1;}')
 	local md5sumcmd=$(md5sum "${filedir}/${filename}"|awk '{print $1;}')