From dee5a38dea3e24f6147b1e620fb3a8664022bc0e Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Tue, 24 Mar 2020 16:39:47 +0100 Subject: [PATCH] [util-publish] fix dl_file official --- lib/util-publish.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/util-publish.sh b/lib/util-publish.sh index 5c565a8..63aa1fe 100644 --- a/lib/util-publish.sh +++ b/lib/util-publish.sh @@ -216,7 +216,8 @@ pull_hp_repo(){ [[ -z $SRCDEST ]] && SRCDEST=${cache_dir} hp_repo=manjaro-homepage - dl_file="${SRCDEST}/${hp_repo}/site/content/downloads/${edition}/${profile}.md" + [[ ${edition} == "manjaro" ]] && _edition="official" || _edition=${edition} + dl_file="${SRCDEST}/${hp_repo}/site/content/downloads/${_edition}/${profile}.md" cd "${SRCDEST}" if [[ ! -d "${hp_repo}" ]]; then