From 896e5b2e18aa65298627d1e8c318157a8119516c Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 5 Sep 2021 00:01:17 +0100 Subject: [PATCH] logic --- lgsm/functions/check_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_deps.sh b/lgsm/functions/check_deps.sh index 28ff82ebe..d67e51fb3 100755 --- a/lgsm/functions/check_deps.sh +++ b/lgsm/functions/check_deps.sh @@ -327,7 +327,7 @@ if [ ! -f "${tmpdir}/dependency-no-check.tmp" ]&&[ ! -f "${datadir}/${distroid}- fi # If the file successfully downloaded run the dependency check. -if [ -n "${checkflag}" ]&&[ "${checkflag}" == "0" ]; then +if [ -f "${datadir}/${distroid}-${distroversion}.csv" ]||[ -n "${checkflag}" ]&&[ "${checkflag}" == "0" ]; then fn_fetch_file_github "lgsm/data" "${distroid}-${distroversion}.csv" "lgsm/data" "chmodx" "norun" "noforce" "nohash" dependencyinstall=$(awk -F, '$1=="install" {$1=""; print $0}' "${datadir}/${distroid}-${distroversion}.csv") dependencyall=$(awk -F, '$1=="all" {$1=""; print $0}' "${datadir}/${distroid}-${distroversion}.csv")