Browse Source

Corrected if

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
661e579dbe
  1. 2
      functions/core_dl.sh

2
functions/core_dl.sh

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

Loading…
Cancel
Save