diff --git a/lgsm/functions/command_mods_update.sh b/lgsm/functions/command_mods_update.sh index 80589bc8d..4521df74d 100644 --- a/lgsm/functions/command_mods_update.sh +++ b/lgsm/functions/command_mods_update.sh @@ -51,7 +51,7 @@ done # Reset line value installedmodsline="1" while [ ${installedmodsline} -le ${installedmodscount} ]; do - currentmod="$(sed "${installedmodsline}q;d" "${modsinstalledlist}")" + currentmod="$(sed "${installedmodsline}q;d" "${modsinstalledlistfullpath}")" if [ -n "${currentmod}" ]; then fn_mod_get_info # Don not update mod if the policy is set to "NOUPDATE"